Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-57075 EUVD-2026-45054GHSA-fwh5-hwhp-qgp4

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

Published Jul 16, 2026 · Updated Jul 17, 2026 · Assigned by CPANSec

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.

Affected products

VendorProductAffectedFixed
TODDR YAML::Syck < 1.47 1.47

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.47-1 —
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 —
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.470.0-1.1 openSUSE-SU-2026:11299-1
openSUSE Leap 16.0 perl-YAML-Syck 1.470.0-bp160.1.1 openSUSE-SU-2026:21497-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-yaml-syck 1.47-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-YAML-Syck +1 1.37-1.amzn2023.0.4 ALAS2023-2026-2007
Amazon Linux 2 perl-YAML-Syck 1.27-3.amzn2.0.6 ALAS2-2026-3837

Azure Linux

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

Advisories 5

References