{"id":"CVE-2026-57077","state":"PUBLISHED","title":"YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len","description":"YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len.\n\nIn 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.\n\nAny caller that runs Load or LoadFile on an untrusted document with a block scalar at a document boundary reaches the over-read.","publishedAt":"2026-07-16T21:41:52.038Z","updatedAt":"2026-07-17T13:05:34.286Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["TODDR YAML::Syck"],"affected":[{"vendor":"TODDR","product":"YAML::Syck","packageName":"YAML-Syck","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.47","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["token.c"],"programRoutines":[{"name":"newline_len"},{"name":"is_newline"}],"repo":"https://github.com/toddr/YAML-Syck"}],"references":["https://metacpan.org/release/TODDR/YAML-Syck-1.47/changes","https://github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d8b.patch","https://www.cve.org/CVERecord?id=CVE-2025-11683"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57077.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57077","state":"PUBLISHED","datePublished":"2026-07-16T21:41:52.038Z","dateUpdated":"2026-07-17T13:05:34.286Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-06-23T18:02:32.995Z"},"containers":{"cna":{"title":"YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len","descriptions":[{"lang":"en","value":"YAML::Syck versions before 1.47 for Perl allow an out-of-bounds read via an unbounded newline scan in newline_len.\n\nIn 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.\n\nAny caller that runs Load or LoadFile on an untrusted document with a block scalar at a document boundary reaches the over-read."}],"affected":[{"vendor":"TODDR","product":"YAML::Syck","packageName":"YAML-Syck","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.47","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["token.c"],"programRoutines":[{"name":"newline_len"},{"name":"is_newline"}],"repo":"https://github.com/toddr/YAML-Syck"}],"references":[{"url":"https://metacpan.org/release/TODDR/YAML-Syck-1.47/changes","tags":["release-notes"]},{"url":"https://github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d8b.patch","tags":["patch"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-11683","tags":["related"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-07-16T21:41:52.038Z"},"solutions":[{"lang":"en","value":"Upgrade to YAML-Syck 1.47 or later."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.7,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-17T13:05:26.689858Z","id":"CVE-2026-57077","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-17T13:05:34.286Z"}}]}}}