CVE-2026-5089YAML::Syck versions before 1.38 for Perl has an out-of-bounds read
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-5089 | |
| Ubuntu 26.04 | libyaml-syck-perl | Under investigation | UBUNTU-CVE-2026-5089 | |
| Ubuntu 25.10 | libyaml-syck-perl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-5089 | |
| Ubuntu 24.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-5089 | |
| Ubuntu 22.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-5089 | |
| Ubuntu 20.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-5089 | |
| Ubuntu 18.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-5089 | |
| Ubuntu 16.04 | libyaml-syck-perl | Fix pending | UBUNTU-CVE-2026-5089 | |
| Debian 14 | libyaml-syck-perl | Fixed | 1.36-3 | DEBIAN-CVE-2026-5089 |
| Debian 13 | libyaml-syck-perl | Fixed | 1.34-2+deb13u3 | DEBIAN-CVE-2026-5089 |
| Debian 12 | libyaml-syck-perl | Fixed | 1.34-2+deb12u3 | DEBIAN-CVE-2026-5089 |
| Red Hat Enterprise Linux 8 | perl-YAML-Syck | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | perl-YAML-Syck | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- TODDR YAML::Syck: affected: before 1.38; fixed in
1.38
Solution: Upgrade to YAML::Syck version 1.38 or later.
Vendor advisories:
- https://metacpan.org/release/TODDR/YAML-Syck-1.38/changes (release-notes)
- https://github.com/cpan-authors/YAML-Syck/commit/208a4d3bd1b5cdb4a791a6e3905bd6bd45e9d005… (patch)
References
- https://metacpan.org/release/TODDR/YAML-Syck-1.38/changes
- https://github.com/cpan-authors/YAML-Syck/issues/132
- https://github.com/cpan-authors/YAML-Syck/pull/133
- https://github.com/cpan-authors/YAML-Syck/commit/208a4d3bd1b5cdb4a791a6e3905bd6bd45e9d005.patch
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.