CVE-2026-57076: Libyaml syck perl · YAML::Syck versions before 1.47 for Perl allow a heap use-after-free via an anchor
Affects libyaml-syck-perlSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 24 Nov 2026, 21:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libyaml-syck-perlpkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibyaml-syck-perlpkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSlibyaml-syck-perlpkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSlibyaml-syck-perlpkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSlibyaml-syck-perlpkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSlibyaml-syck-perlpkg:deb/ubuntu/libyaml-syck-perl?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-57076 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-57076 (opens in a new tab)
- openwall.com/lists/oss-security/2026/07/17/3 (opens in a new tab)
- github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d8b.patch (opens in a new tab)
- metacpan.org/release/TODDR/YAML-Syck-1.47/changes (opens in a new tab)
- openwall.com/lists/oss-security/2026/07/17/3 (opens in a new tab)