Skip to content

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

HighCVSS 7.3 EPSS 0.40%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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