YAML::Syck versions before 1.47 for Perl allow a heap use-after-free via an anchor name reused as an anchors-table key in syck_hdlr_add_anchor.
In the bundled libsyck an anchor name allocated by syck_strndup is stored both as node->anchor, freed when the node is freed, and as the key in the parser's anchors table. Freeing the node frees the shared key, and a later anchor redefinition makes st_delete compare against the freed key, so st_strcmp reads freed heap memory. Anchors are a standard YAML feature and need no special flags, so this is reached on the default Load path.
Any caller that runs Load or LoadFile on an untrusted document that redefines an anchor reaches the read of freed memory.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade perl-yaml-syck | Aug 24, 2026 | Jul 16, 2026 |
| Amazon Linux Ami 2 | — | Upgrade perl-YAML-Syck-debuginfoUpgrade perl-YAML-Syck | Aug 5, 2026 | Aug 5, 2026 |
| Amazon_linux_2023 | — | Upgrade perl-YAML-Syck-debugsourceUpgrade perl-YAML-SyckUpgrade perl-YAML-Syck-debuginfoUpgrade perl-YAML-Syck-tests | Aug 10, 2026 | Jul 16, 2026 |
| Debian | — | Upgrade libyaml-syck-perl | Aug 11, 2026 | Aug 11, 2026 |
| Freebsd | — | Upgrade p5-YAML-Syck | Sep 28, 2026 | Sep 26, 2026 |
| Redhat_linux | — | No solution exists | Jul 20, 2026 | Jul 16, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub