CVE-2026-57077
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.7
(v3.1)
Vulnerability status
Deferred
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-07-16 22:17:43.650000
Last modified
2026-10-24 20:10:00.137000
View original CVE JSON
{
"id": "CVE-2026-57077",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"published": "2026-07-16T22:17:43.650",
"lastModified": "2026-10-24T20:10:00.137",
"vulnStatus": "Deferred",
"cveTags": [],
"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."
},
{
"lang": "es",
"value": "Las versiones de YAML::Syck anteriores a la 1.47 para Perl permiten una lectura fuera de límites a través de un escaneo de nueva línea sin límites en newline_len.\n\nEn la libsyck incluida, newline_len e is_newline desreferencian el puntero de escaneo, y el byte siguiente para un par “\\r\\n”, sin terminador NUL ni comprobación de límites. Durante el análisis léxico de escalar de bloque en un límite de documento, el escaneo se ejecuta un byte más allá del búfer del analizador léxico del heap. Esta es una corrección incompleta de CVE-2025-11683, en una ruta del analizador léxico que la corrección anterior no cubrió.\n\nCualquier llamador que ejecute Load o LoadFile en un documento no confiable con un escalar de bloque en un límite de documento alcanza la sobrelectura."
}
],
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"vendor": "TODDR",
"product": "YAML::Syck",
"defaultStatus": "unaffected",
"collectionURL": "https://cpan.org/modules",
"packageName": "YAML-Syck",
"programFiles": [
"token.c"
],
"programRoutines": [
{
"name": "newline_len"
},
{
"name": "is_newline"
}
],
"repo": "https://github.com/toddr/YAML-Syck",
"versions": [
{
"version": "0",
"lessThan": "1.47",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"baseScore": 7.7,
"baseSeverity": "HIGH",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.5,
"impactScore": 5.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-17T13:05:26.689858Z",
"id": "CVE-2026-57077",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-125"
}
]
}
],
"references": [
{
"url": "https://github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d8b.patch",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "https://metacpan.org/release/TODDR/YAML-Syck-1.47/changes",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "https://www.cve.org/CVERecord?id=CVE-2025-11683",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
}
]
}