PT-2026-25828 · Unknown+1 · Yaml::Syck+1

Todd Rinaldo

·

Published

2026-01-01

·

Updated

2026-04-15

·

CVE-2026-4177

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions YAML::Syck versions through 1.36
Description YAML::Syck for Perl has multiple security issues, including a high-severity heap buffer overflow in the YAML emitter. This overflow happens when class names are longer than the initial 512-byte allocation. The base64 decoder may read beyond the buffer's end when encountering trailing newlines. The strtok function modifies n->type id directly, potentially corrupting shared node data. Additionally, a memory leak occurs in the syck hdlr add anchor function when a node already has an anchor, leaking the incoming anchor string a upon early return. The issue affects the YAML emitter component.
Recommendations Update YAML::Syck to a version later than 1.36.

Fix

Heap Based Buffer Overflow

Weakness Enumeration

Related Identifiers

ALSA-2026:6470
CVE-2026-4177
MGASA-2026-0058
OPENSUSE-SU-2026:10551-1
OPENSUSE-SU-2026:20771-1
RHSA-2026:6470
RHSA-2026:8311

Affected Products

Rocky Linux
Yaml::Syck