Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-4177 EUVD-2026-12523GHSA-72r6-p2x3-g9gj

YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter

Published Mar 16, 2026 · Updated Jul 15, 2026 · Assigned by CPANSec

Description

YAML::Syck versions through 1.36 for Perl has several potential security vulnerabilities including a high-severity heap buffer overflow in the YAML emitter.

The heap overflow occurs when class names exceed the initial 512-byte allocation.

The base64 decoder could read past the buffer end on trailing newlines.

strtok mutated n->type_id in place, corrupting shared node data.

A memory leak occurred in syck_hdlr_add_anchor when a node already had an anchor. The incoming anchor string 'a' was leaked on early return.

Affected products

VendorProductAffectedFixed
TODDR YAML::Syck ≤ 1.36 —

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-2 —
Debian 13 libyaml-syck-perl 1.34-2+deb13u2 DSA-6175-1
Debian 12 libyaml-syck-perl 1.34-2+deb12u2 DSA-6175-1
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
RHEL 8 perl-YAML-Syck 1.30-6.el8_10 RHSA-2026:6470
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7 ELS perl-YAML-Syck 1.27-3.el7_9.1 RHSA-2026:8311

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 perl-YAML-Syck 1.30-6.el8_10 ALSA-2026:6470

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 perl-YAML-Syck 1.30-6.el8_10 RLSA-2026:6470
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-YAML-Syck 1.440.0-1.1 openSUSE-SU-2026:10551-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-yaml-syck 1.45-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-YAML-Syck +1 1.37-1.amzn2023.0.1 ALAS2023-2026-1517
Amazon Linux 2 perl-YAML-Syck 1.27-3.amzn2.0.4 ALAS2-2026-3216

Azure Linux

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

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perl-YAML-Syck 1.30-6.el8_10 ELSA-2026-6470

Advisories 10

References