CVEfocus › CVE database › CVE-2026-57076

CVE-2026-57076YAML::Syck versions before 1.47 for Perl allow a heap use-after-free via an anchor name…

CVSS 7.8 HighEPSS 0.2% (higher than 4% of CVEs)Published 2026-07-16Updated 2026-07-17Assigner: CPANSec

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.

CWE-416

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
7Fix pending
1Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libyaml-syck-perlFix pendingUBUNTU-CVE-2026-57076
Ubuntu 26.04libyaml-syck-perlUnder investigationUBUNTU-CVE-2026-57076
Ubuntu 24.04libyaml-syck-perlFix pendingUBUNTU-CVE-2026-57076
Ubuntu 22.04libyaml-syck-perlFix pendingUBUNTU-CVE-2026-57076
Ubuntu 20.04libyaml-syck-perlFix pendingUBUNTU-CVE-2026-57076
Ubuntu 18.04libyaml-syck-perlFix pendingUBUNTU-CVE-2026-57076
Ubuntu 16.04libyaml-syck-perlFix pendingUBUNTU-CVE-2026-57076
Debian 14libyaml-syck-perlFixed1.47-1DEBIAN-CVE-2026-57076
Debian 13libyaml-syck-perlFixed1.34-2+deb13u3DEBIAN-CVE-2026-57076
Debian 12libyaml-syck-perlFixed1.34-2+deb12u3DEBIAN-CVE-2026-57076
Red Hat Enterprise Linux 8perl-YAML-SyckFix pending
Fix deferred
Red Hat Enterprise Linux 7perl-YAML-SyckWill not fix
Out of support scope
Red Hat Enterprise Linux 6perl-YAML-SyckWill not fix
Out of support scope
Alpine Linux 3.24perl-yaml-syckFixed1.47-r0ALPINE-CVE-2026-57076

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to YAML-Syck 1.47 or later.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.