{"id":"CVE-2026-5089","aliases":["CVE-2026-5089"],"related":[],"kind":"vulnerability","state":"published","title":"YAML::Syck versions before 1.38 for Perl has an out-of-bounds read","summary":"YAML::Syck versions before 1.38 for Perl  has an out-of-bounds read.\n\nThe base60 (sexagesimal) parsing code in perl_syck.h has a buffer underflow bug in both int#base60 and float#base60 handlers. When processing the leftmost segment of a colon-separated value (e.g., the 1 in 1:30:45), the inner while loop can decrement a pointer past the start of the string buffer:\n\n    while ( colon >= ptr && *colon != ':' )\n    {\n        colon--;\n    }\n    if ( *colon == ':' ) *colon = '\\0';  // colon may be ptr-1 here\n\nWhen no colon is found (final/leftmost segment), colon becomes ptr-1, and the subsequent *colon dereference reads one byte before the allocated buffer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"YAML::Syck versions before 1.38 for Perl  has an out-of-bounds read.\n\nThe base60 (sexagesimal) parsing code in perl_syck.h has a buffer underflow bug in both int#base60 and float#base60 handlers. When processing the leftmost segment of a colon-separated value (e.g., the 1 in 1:30:45), the inner while loop can decrement a pointer past the start of the string buffer:\n\n    while ( colon >= ptr && *colon != ':' )\n    {\n        colon--;\n    }\n    if ( *colon == ':' ) *colon = '\\0';  // colon may be ptr-1 here\n\nWhen no colon is found (final/leftmost segment), colon becomes ptr-1, and the subsequent *colon dereference reads one byte before the allocated buffer.","source":"cvelist"},{"lang":"es","text":"Las versiones de YAML::Syck anteriores a la 1.38 para Perl tienen una lectura fuera de límites.\n\nEl código de análisis (parsing) base60 (sexagesimal) en perl_syck.h tiene un error de subdesbordamiento de búfer en los manejadores int#base60 y float#base60. Al procesar el segmento más a la izquierda de un valor separado por dos puntos (p. ej., el 1 en 1:30:45), el bucle ’while’ interno puede decrementar un puntero más allá del inicio del búfer de cadena:\n\n    while ( colon >= ptr && colon != ’:’ )\n    {\n        colon--;\n    }\n    if ( colon == ’:’ ) colon = ’\\0’;  // ’colon’ puede ser ’ptr-1’ aquí\n\nCuando no se encuentra ningún dos puntos (segmento final/más a la izquierda), ’colon’ se convierte en ’ptr-1’, y la desreferencia subsiguiente de colon lee un byte antes del búfer asignado.","source":"nvd"}],"published":"2026-05-12T16:14:21.951Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"}],"cwes":["CWE-124"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.38","status":"affected"}],"vendor":"TODDR","product":"YAML::Syck","package":"YAML-Syck","repo":"https://github.com/toddr/YAML-Syck","source":"cvelist"}],"references":[{"url":"https://metacpan.org/release/TODDR/YAML-Syck-1.38/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cpan-authors/YAML-Syck/issues/132","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cpan-authors/YAML-Syck/pull/133","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cpan-authors/YAML-Syck/commit/208a4d3bd1b5cdb4a791a6e3905bd6bd45e9d005.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/12/16","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-05-14T13:50:53.123Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5089","url":"https://www.cve.org/CVERecord?id=CVE-2026-5089","licence":"CVE Terms of Use","modified":"2026-05-14T13:51:01.952Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5089","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5089","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:21.382Z","epss":{"score":0.00404,"percentile":0.3674,"date":"2026-12-01T12:00:22.000Z"}}