YAML::Syck versions before 1.38 for Perl has an out-of-bounds read.
The 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:
while ( colon >= ptr && *colon != ':' )
{
colon--;
}
if ( *colon == ':' ) *colon = '\0'; // colon may be ptr-1 here
When no colon is found (final/leftmost segment), colon becomes ptr-1, and the subsequent *colon dereference reads one byte before the allocated buffer.
{
"cna_assigner": "CPANSec",
"cwe_ids": [
"CWE-124"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5089.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5089.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"239669001996007088063144655371668211880",
"135310707679957753476388740615528358545",
"159450672489005805866610331210520225226",
"292154796048655434973334485091428350061",
"255341269515527446115770924708136893809",
"201355804064779597802730474635627007956",
"184576975460836140180607070120442570262",
"158157331789970123566600484319603985595",
"296803303264251879555672996242603628691",
"263660569692017382953496530953633503283",
"198354363318076899067818672088674578278",
"146365732004223871278399270429009998142",
"24441469998738123441564656794290795353",
"29279974126449714828769501230210381344",
"159450672489005805866610331210520225226",
"292154796048655434973334485091428350061",
"255341269515527446115770924708136893809",
"325303248902609442063255917535539926093",
"161871335518179038082859411694507736672",
"157126474371271869462549748024061278070",
"192498190862311652560183002059225726217",
"263660569692017382953496530953633503283",
"82046063684427780375164313021184407259",
"126407364184357117589007740979161007957"
],
"threshold": 0.9
},
"id": "CVE-2026-5089-f939abba",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/cpan-authors/yaml-syck/commit/208a4d3bd1b5cdb4a791a6e3905bd6bd45e9d005",
"target": {
"file": "perl_syck.h"
}
}
]
"2026-08-12T16:25:41Z"