CVE-2026-4177 YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter.
The heap overflow occurs when class names exceed the initial 512-byte allocation.
The base64 decoder could read past the buffer end on trailing newlines.
strtok mutated n->type_id in place, corrupting shared node data.
A memory leak occurred in syck_hdlr_add_anchor when a node already had an anchor. The incoming anchor string 'a' was leaked on early return.
Upgrade path
14 packages: 9 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux perl-YAML(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| ubuntu/libyaml-syck-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libyaml-syck-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libyaml-syck-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libyaml-syck-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/perl-yaml-syck(Alpine v3.24) | < 1.45-r0 | 1.45-r0 | Fixed |
| debian/libyaml-syck-perl(Debian 12) | < 1.34-2+deb12u2; = 1.34-2; = 1.34-2+deb12u1 | 1.34-2+deb12u2 | Fixed |
| debian/libyaml-syck-perl(Debian 13) | < 1.34-2+deb13u2; = 1.34-2; = 1.34-2+deb13u1 | 1.34-2+deb13u2 | Fixed |
| debian/libyaml-syck-perl(Debian 14) | < 1.36-2; = 1.34-2; = 1.34-3; = 1.34-4 +1 more | 1.36-2 | Fixed |
| redhat enterprise linux | < 0:1.30-6.el8_10; = 6 | 0:1.30-6.el8_10 | Fixed |
| redhat rhel els | < 0:1.27-3.el7_9.1 | 0:1.27-3.el7_9.1 | Fixed |
| redhat/perl-YAML-Syck(Red Hat enterprise_linux 8 crb) | < 1.30-6.el8_10 | 1.30-6.el8_10 | Fixed |
| redhat/perl-YAML-Syck(Red Hat rhel_els 7) | < 1.27-3.el7_9.1 | 1.27-3.el7_9.1 | Fixed |
| TODDR YAML::Syck | < 1.37; <= 1.36 | 1.37 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux perl-YAML(Azure Linux:3.0) | All versions | No fix listed |
| TODDR YAML::Syck | <= 1.36 | No fix listed |
| redhat rhel els | < 0:1.27-3.el7_9.1 | 0:1.27-3.el7_9.1 |
| redhat enterprise linux | < 0:1.30-6.el8_10 | 0:1.30-6.el8_10 |
| redhat enterprise linux | = 6 | No fix listed |
| debian/libyaml-syck-perl(Debian:12) | < 1.34-2+deb12u2 | 1.34-2+deb12u2 |
| debian/libyaml-syck-perl(Debian:12) | = 1.34-2 | No fix listed |
| debian/libyaml-syck-perl(Debian:12) | = 1.34-2+deb12u1 | No fix listed |
| debian/libyaml-syck-perl(Debian:13) | < 1.34-2+deb13u2 | 1.34-2+deb13u2 |
| debian/libyaml-syck-perl(Debian:13) | = 1.34-2 | No fix listed |
| debian/libyaml-syck-perl(Debian:13) | = 1.34-2+deb13u1 | No fix listed |
| debian/libyaml-syck-perl(Debian:14) | < 1.36-2 | 1.36-2 |
| debian/libyaml-syck-perl(Debian:14) | = 1.34-2 | No fix listed |
| debian/libyaml-syck-perl(Debian:14) | = 1.34-3 | No fix listed |
| debian/libyaml-syck-perl(Debian:14) | = 1.34-4 | No fix listed |
| debian/libyaml-syck-perl(Debian:14) | = 1.36-1 | No fix listed |
| ubuntu/libyaml-syck-perl(Ubuntu:22.04) | All versions | No fix listed |
| redhat/perl-YAML-Syck(Red Hat:rhel_els:7) | < 1.27-3.el7_9.1 | 1.27-3.el7_9.1 |
| redhat/perl-YAML-Syck(Red Hat:enterprise_linux:8::crb) | < 1.30-6.el8_10 | 1.30-6.el8_10 |
| redhat/perl-YAML-Syck(Red Hat:rhel_els:6) | All versions | No fix listed |
| alpine/perl-yaml-syck(Alpine:v3.24) | < 1.45-r0 | 1.45-r0 |
| ubuntu/libyaml-syck-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libyaml-syck-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libyaml-syck-perl(Ubuntu:26.10) | All versions | No fix listed |
| TODDR YAML::Syck | < 1.37 | 1.37 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- github.com patch
- metacpan.org release-notes
- www.openwall.com mailing-list third-party-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2448277 issue-tracking
- security.access.redhat.com
- RHSA-2026:8311 patch vendor-advisory
- RHSA-2026:6470 patch vendor-advisory
- Debian Security Tracker CVE-2026-4177 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- nvd.nist.gov
- security.alpinelinux.org vendor-advisory