CVE-2026-57076
published high CVSS 3.1 · 7.8YAML::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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| TODDR | — | YAML-SyckYAML::Syck · 0 to < 1.47 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3837 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2007 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | perl-yaml-syck | Fixed | 1.47-r0 | Package fix record |
| Debian | bookworm | libyaml-syck-perl | Advisory build | 1.34-2+deb12u3 | DLA-4730-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Syckaarch64 | Advisory build | 1.470.0-bp160.1.1 | OPENSUSE-SU-2026:21452-1 |
| Amazon Linux | AL2 | perl-YAML-Syckaarch64 | Listed in advisory | Not stated | ALAS2-2026-3837 |
| Alpine Linux | v3.24 | perl-yaml-syck | Fixed | 1.47-r0 | Package fix record |
Show 19 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | libyaml-syck-perl | Advisory build | 1.34-1+deb11u2 | DLA-4730-1 |
| Debian | trixie | libyaml-syck-perl | Advisory build | 1.34-2+deb13u3 | DSA-6428-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Syckaarch64 | Advisory build | 1.470.0-bp160.1.1 | OPENSUSE-SU-2026:21497-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Syckppc64le | Advisory build | 1.470.0-bp160.1.1 | OPENSUSE-SU-2026:21452-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Syckppc64le | Advisory build | 1.470.0-bp160.1.1 | OPENSUSE-SU-2026:21497-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Sycks390x | Advisory build | 1.470.0-bp160.1.1 | OPENSUSE-SU-2026:21452-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Sycks390x | Advisory build | 1.470.0-bp160.1.1 | OPENSUSE-SU-2026:21497-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Syckx86_64 | Advisory build | 1.470.0-bp160.1.1 | OPENSUSE-SU-2026:21452-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-YAML-Syckx86_64 | Advisory build | 1.470.0-bp160.1.1 | OPENSUSE-SU-2026:21497-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-YAML-Syckaarch64 | Advisory build | 1.470.0-1.1 | OPENSUSE-SU-2026:11299-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-YAML-Syckppc64le | Advisory build | 1.470.0-1.1 | OPENSUSE-SU-2026:11299-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-YAML-Sycks390x | Advisory build | 1.470.0-1.1 | OPENSUSE-SU-2026:11299-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-YAML-Syckx86_64 | Advisory build | 1.470.0-1.1 | OPENSUSE-SU-2026:11299-1 |
| Amazon Linux | AL2 | perl-YAML-Sycki686 | Listed in advisory | Not stated | ALAS2-2026-3837 |
| Amazon Linux | AL2 | perl-YAML-Sycksrc | Listed in advisory | Not stated | ALAS2-2026-3837 |
| Amazon Linux | AL2 | perl-YAML-Syckx86_64 | Listed in advisory | Not stated | ALAS2-2026-3837 |
| Amazon Linux | AL2023 | perl-YAML-Syckaarch64 | Listed in advisory | Not stated | ALAS2023-2026-2007 |
| Amazon Linux | AL2023 | perl-YAML-Sycksrc | Listed in advisory | Not stated | ALAS2023-2026-2007 |
| Amazon Linux | AL2023 | perl-YAML-Syckx86_64 | Listed in advisory | Not stated | ALAS2023-2026-2007 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| TODDR | YAML::Syck | 0 to < 1.47 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
3Provider assertions
3CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d1aabca5c6b472b0ea57a65f9ee526a3a7c6a1b21e68a7f0ab70b7a7a8ebbdf7
- Ingested
- 23 Sep 2026, 09:21:43 UTC
- Source record
- Official CVE record