CVE-2026-4177
CRITICAL 9.1CVSS 3.1YAML::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.
- Published
- 16 Mar 2026
- Last modified
- 15 Jul 2026
- Assigned by
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- NVD status
- Modified
- Weakness
- CWE-120CWE-122
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | toddr | yaml::syckcpe:2.3:a:toddr:yaml\:\:syck:*:*:*:*:*:perl:*:* |
< 1.37 | 1.37 |
References
- https://github.com/cpan-authors/YAML-Syck/commit/e8844a31c8cf0052914b198fc784ed4e6b8ae69e.patch · Patch
- https://metacpan.org/release/TODDR/YAML-Syck-1.37_01/changes#L21 · Release Notes
- http://www.openwall.com/lists/oss-security/2026/03/16/6 · Mailing List, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:6470
- https://access.redhat.com/errata/RHSA-2026:8311
- https://access.redhat.com/security/cve/CVE-2026-4177
- https://bugzilla.redhat.com/show_bug.cgi?id=2448277
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4177.json
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 16 Mar 2026)