CVE-2026-57077 YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len.
In the bundled libsyck newline_len and is_newline dereference the scan pointer, and the following byte for a "\r\n" pair, with no NUL-terminator or bounds check. During block-scalar lexing at a document boundary the scan runs one byte past the heap lexer buffer. This is an incomplete fix of CVE-2025-11683, on a lexer path the earlier fix did not cover.
Any caller that runs Load or LoadFile on an untrusted document with a block scalar at a document boundary reaches the over-read.
Upgrade path
11 packages: 5 fixed, 6 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 |
| redhat/perl-YAML-Syck(Red Hat enterprise_linux 8) | 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.47-r0 | 1.47-r0 | Fixed |
| debian/libyaml-syck-perl(Debian 12) | < 1.34-2+deb12u3; = 1.34-2; = 1.34-2+deb12u1; = 1.34-2+deb12u2 | 1.34-2+deb12u3 | Fixed |
| debian/libyaml-syck-perl(Debian 13) | < 1.34-2+deb13u3; = 1.34-2; = 1.34-2+deb13u1; = 1.34-2+deb13u2 | 1.34-2+deb13u3 | Fixed |
| debian/libyaml-syck-perl(Debian 14) | < 1.47-1; = 1.34-2; = 1.34-3; = 1.34-4 +3 more | 1.47-1 | Fixed |
| TODDR YAML::Syck | < 1.47 | 1.47 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| TODDR YAML::Syck | < 1.47 | 1.47 |
| redhat/perl-YAML-Syck(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/perl-YAML-Syck(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/perl-YAML-Syck(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| debian/libyaml-syck-perl(Debian:12) | < 1.34-2+deb12u3 | 1.34-2+deb12u3 |
| 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:12) | = 1.34-2+deb12u2 | No fix listed |
| debian/libyaml-syck-perl(Debian:13) | < 1.34-2+deb13u3 | 1.34-2+deb13u3 |
| 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:13) | = 1.34-2+deb13u2 | No fix listed |
| debian/libyaml-syck-perl(Debian:14) | < 1.47-1 | 1.47-1 |
| 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 |
| debian/libyaml-syck-perl(Debian:14) | = 1.36-2 | No fix listed |
| debian/libyaml-syck-perl(Debian:14) | = 1.36-3 | No fix listed |
| ubuntu/libyaml-syck-perl(Ubuntu:22.04) | All versions | No fix listed |
| alpine/perl-yaml-syck(Alpine:v3.24) | < 1.47-r0 | 1.47-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 |
| azure linux perl-YAML(Azure Linux:3.0) | All versions | No fix listed |
References
- metacpan.org release-notes
- github.com patch
- www.cve.org related
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2501576 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-57077 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking