Skip to content
OpenAdvisories
High · 7.3 CVE-2026-5089 EUVD-2026-29543GHSA-jcwf-qrr5-xwq3

YAML::Syck versions before 1.38 for Perl has an out-of-bounds read

Published May 12, 2026 · Updated May 14, 2026 · Assigned by CPANSec

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.

Affected products

VendorProductAffectedFixed
TODDR YAML::Syck < 1.38 1.38

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.

ReleasePackageFixed inAdvisory
Debian 14 libyaml-syck-perl 1.36-3 —
Debian 13 libyaml-syck-perl 1.34-2+deb13u3 —
Debian 12 libyaml-syck-perl 1.34-2+deb12u3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libyaml-syck-perl No fix yet —
Ubuntu 26.04 LTS libyaml-syck-perl No fix yet —
Ubuntu 25.10 libyaml-syck-perl No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-YAML-Syck 1.450.0-4.1 openSUSE-SU-2026:10846-1
openSUSE Leap 16.0 perl-YAML-Syck 1.450.0-bp160.2.1 openSUSE-SU-2026:20938-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-YAML-Syck +1 1.37-1.amzn2023.0.3 ALAS2023-2026-1769
Amazon Linux 2 perl-YAML-Syck 1.27-3.amzn2.0.5 ALAS2-2026-3327

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 perl-YAML +1 No fix yet —

Advisories 4

References