# 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

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-03-16T22:30:25.367Z
- Modified: 2026-07-15T02:22:39.313Z
- Weaknesses: CWE-120, CWE-122
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- YAML-Syck: up to 1.36
- perl-YAML-Syck: no versions given (not affected: from 0:1.27-3.el7_9.1 before *; from 0:1.30-6.el8_10 before *)
- toddr yaml::syck: before 1.37

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- redhat-SADP: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`

## 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/security/cve/CVE-2026-4177> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2448277> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4177.json>
- <https://access.redhat.com/errata/RHSA-2026:8311> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6470> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-4177](https://www.cve.org/CVERecord?id=CVE-2026-4177), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-4177](https://nvd.nist.gov/vuln/detail/CVE-2026-4177), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-4177 · Whole record: https://cve.day/CVE-2026-4177.json · Rebuilt by cve.day 2026-11-25T22:59:16.031Z
