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
- State
- Published
- Severity
- 9.1 Critical
- Published
- Mar 16, 2026
- Updated
- Jul 15, 2026
- Reserved
- Mar 14, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.1 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | CISA-ADP |
| 3.1 | 7.3 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
YAML::SyckTODDR |
|
References
- https://github.com/cpan-authors/YAML-Syck/commit/e8844a31c8cf0052914b198fc784ed4e6b8ae69e.patchpatch
- https://metacpan.org/release/TODDR/YAML-Syck-1.37_01/changes#L21release-notes
- http://www.openwall.com/lists/oss-security/2026/03/16/6
- https://access.redhat.com/security/cve/CVE-2026-4177vdb-entry
- RHBZ#2448277issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4177.json
- https://access.redhat.com/errata/RHSA-2026:8311vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:6470vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.