# CVE-2026-57077: YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len

- Severity: High 7.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-07-16T21:41:52.038Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: CPANSec

## Description

YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len.

In the bundled libsyck newline_len and is_newline dereference the scan pointer, and the following byte for a "\r\n" pair, with no NUL-terminator or bounds check. During block-scalar lexing at a document boundary the scan runs one byte past the heap lexer buffer. This is an incomplete fix of CVE-2025-11683, on a lexer path the earlier fix did not cover.

Any caller that runs Load or LoadFile on an untrusted document with a block scalar at a document boundary reaches the over-read.

(As written by CVE List.)

## Affected

- YAML-Syck: before 1.47

## References

- <https://metacpan.org/release/TODDR/YAML-Syck-1.47/changes> (release-notes)
- <https://github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d8b.patch> (patch)
- <https://www.cve.org/CVERecord?id=CVE-2025-11683> (related)

## Sources

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

---

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