Skip to content

CVE-2026-57075 YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via a signed-char lookup-table index in syck_base64dec

CriticalCVSS 9.1 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebianRed Hat

Description

YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via a signed-char lookup-table index in syck_base64dec.

The base64 decoder in the bundled libsyck indexes the 256-entry static table b64_xtable with a signed char, so any !!binary byte >= 0x80 sign-extends to a negative index and reads before the table. The decoder receives the raw bytes of any !!binary node, a standard YAML type not gated by $LoadBlessed or $LoadCode, so it is reached on the default Load path.

Any caller that runs Load or LoadFile on an untrusted document containing a !!binary scalar with a high-bit byte triggers the read, and the value read can surface in the decoded result.

Upgrade path

11 packages: 5 fixed, 6 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
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

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