Vulnerability · Published Mar 16, 2026 · Assigned by CPANSec

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

Critical 9.1

In plain English

A critical-severity heap buffer overflow in YAML::Syck from TODDR. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.5%top 60.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8perl-YAML-Syck1.30-6.el8_10ALSA-2026:6470
Alpine:v3.24perl-yaml-syck1.45-r0ALPINE-CVE-2026-4177
Debian:12libyaml-syck-perl1.34-2+deb12u2DSA-6175-1
Debian:12libyaml-syck-perl1.34-2+deb12u2DEBIAN-CVE-2026-4177
Debian:13libyaml-syck-perl1.34-2+deb13u2DSA-6175-1
Debian:13libyaml-syck-perl1.34-2+deb13u2DEBIAN-CVE-2026-4177
Debian:14libyaml-syck-perl1.36-2DEBIAN-CVE-2026-4177
Rocky Linux:8perl-YAML-Syck0:1.30-6.el8_10RLSA-2026:6470
Ubuntu:25.10libyaml-syck-perlno fix listedUBUNTU-CVE-2026-4177
Ubuntu:26.04:LTSlibyaml-syck-perlno fix listedUBUNTU-CVE-2026-4177
Ubuntu:26.10libyaml-syck-perlno fix listedUBUNTU-CVE-2026-4177

Affected products (as reported)

VendorProductVersions
TODDR YAML::Syck 0 – through 1.36

Weakness: CWE-122, CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

References