CVE-2026-5089 YAML::Syck versions before 1.38 for Perl has an out-of-bounds read
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
YAML::Syck versions before 1.38 for Perl has an out-of-bounds read.
The base60 (sexagesimal) parsing code in perl_syck.h has a buffer underflow bug in both int#base60 and float#base60 handlers. When processing the leftmost segment of a colon-separated value (e.g., the 1 in 1:30:45), the inner while loop can decrement a pointer past the start of the string buffer:
while ( colon >= ptr && *colon != ':' )
{
colon--;
}
if ( *colon == ':' ) *colon = '\0'; // colon may be ptr-1 here
When no colon is found (final/leftmost segment), colon becomes ptr-1, and the subsequent *colon dereference reads one byte before the allocated buffer.
Upgrade path
11 packages: 4 fixed, 7 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 |
| redhat/perl-YAML-Syck(Red Hat rhel_els 6) | 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 |
| 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.36-3; = 1.34-2; = 1.34-3; = 1.34-4 +2 more | 1.36-3 | Fixed |
| TODDR YAML::Syck | < 1.38 | 1.38 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| TODDR YAML::Syck | < 1.38 | 1.38 |
| redhat/perl-YAML-Syck(Red Hat:rhel_els:6) | 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.36-3 | 1.36-3 |
| 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 |
| ubuntu/libyaml-syck-perl(Ubuntu:22.04) | All versions | No fix listed |
| 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
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- metacpan.org release-notes
- github.com exploit issue-tracking
- github.com issue-tracking
- github.com patch
- www.openwall.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2476554 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-5089 vendor-advisory
- Ubuntu CVE tracker vendor-advisory