Description
YAML::Syck versions before 1.47 for Perl allow a use-after-free and double-free via an anchor node freed while still on the parser value stack.
In the bundled libsyck, when an anchor name is redefined or removed, syck_hdlr_add_anchor and syck_hdlr_remove_anchor free the node stored under that name with syck_free_node. That node can still be live on the parser's value stack, so syck_hdlr_add_node reaches it again and frees it a second time. On a normal build the 48-byte node chunk is freed twice and the interpreter aborts. Anchors need no special flags, so this is reached on the default Load path, and a 7-byte document that redefines an anchor triggers it.
Any caller that runs Load or LoadFile on an untrusted document that redefines an anchor mid-parse crashes the interpreter, a denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| TODDR | YAML::Syck | < 1.47 | 1.47 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libyaml-syck-perl | 1.47-1 | — |
| Debian 13 | libyaml-syck-perl | 1.34-2+deb13u3 | — |
| Debian 12 | libyaml-syck-perl | 1.34-2+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libyaml-syck-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libyaml-syck-perl | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | libyaml-syck-perl | No fix yet | — |
| Ubuntu Pro 22.04 LTS | libyaml-syck-perl | No fix yet | — |
| Ubuntu Pro 20.04 LTS | libyaml-syck-perl | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libyaml-syck-perl | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libyaml-syck-perl | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | perl-YAML-Syck | 1.30-7.el8_10 | RHSA-2026:67269 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | perl-YAML-Syck | 1.30-7.el8_10 | ALSA-2026:67269 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | perl-YAML-Syck | 1.30-7.el8_10 | RLSA-2026:67269 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-YAML-Syck | 1.470.0-1.1 | openSUSE-SU-2026:11299-1 |
| openSUSE Leap 16.0 | perl-YAML-Syck | 1.470.0-bp160.1.1 | openSUSE-SU-2026:21497-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl-yaml-syck | 1.47-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | perl-YAML-Syck +1 | 1.37-1.amzn2023.0.4 | ALAS2023-2026-2007 |
| Amazon Linux 2 | perl-YAML-Syck | 1.27-3.amzn2.0.6 | ALAS2-2026-3837 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | perl-YAML +1 | No fix yet | — |
Advisories 8
- ALSA-2026:67269 Important: perl-YAML-Syck security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:67269 Red Hat Security Advisory: perl-YAML-Syck security update Red Hat Security Advisories (RHSA) · Sep 15, 2026
- RLSA-2026:67269 Important: perl-YAML-Syck security update Rocky Linux Security Advisories · Sep 15, 2026
- WID-SEC-2026-2508 cPanel cPanel/WHM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 14, 2026
- ALAS2-2026-3837 Important: perl-YAML-Syck security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 4, 2026
- ALAS2023-2026-2007 Important: perl-YAML-Syck security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 4, 2026
- openSUSE-SU-2026:21497-1 Security update for perl-YAML-Syck SUSE / openSUSE Security Updates · Jul 31, 2026
- openSUSE-SU-2026:11299-1 perl-YAML-Syck-1.470.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 18, 2026