Buffer overflow in Toddr Yaml\
CVE-2026-4177
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.
Vulnerability class: Buffer Overflow
EPSS: 0.004 (35.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.
Affected products
- Toddr Yaml\ — versions \
- Toddr Yaml::syck — versions 0
- Toddr Yaml\:\:syck
Weakness classification (CWE)
References
- 9b29abf9-4ab0-4765-b253-1875cd9b441e (Patch, patch)
- 9b29abf9-4ab0-4765-b253-1875cd9b441e (release-notes, Release Notes)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Third Party Advisory)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Frequently asked questions
- What is CVE-2026-4177?
- CVE-2026-4177 is a critical-severity vulnerability in Toddr Yaml\, classified under Heap-based Buffer Overflow. CVSS score: 9.1/10. Published 2026-03-16.
- How severe is CVE-2026-4177?
- Critical severity. CVSS v3 base score is 9.1 out of 10.