CVE-2026-5089

Source
https://cve.org/CVERecord?id=CVE-2026-5089
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5089.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-5089
Downstream
Related
Published
2026-05-12T16:14:21Z
Modified
2026-08-12T16:25:41Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
YAML::Syck versions before 1.38 for Perl has an out-of-bounds read
Details

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.

Database specific
{
    "cna_assigner": "CPANSec",
    "cwe_ids": [
        "CWE-124"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5089.json"
}
References

Affected packages

Git / github.com/cpan-authors/yaml-syck

Affected ranges

Type
GIT
Repo
https://github.com/cpan-authors/yaml-syck
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.38"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.01
0.02
0.03
0.04
0.05
0.06
0.07
0.08
0.09
0.10
0.11
0.12
0.13
0.14
0.15
0.16
0.17
0.18
0.19
0.20
0.21
0.22
0.23
0.24
0.25
0.26
0.27
0.28
0.29
0.30
0.31
0.32
0.33
0.34
0.35
0.36
0.37
0.38
0.40
0.41
0.42
0.43
0.44
0.45
0.46_01
0.60
0.61
0.62
0.63
0.64
0.65
0.66
0.67
0.70
0.71
0.72
0.80
0.81
0.82
0.84
0.85
0.86
0.87
0.88
0.90
0.91
0.94
0.95
0.96
0.97
0.98
0.99
1.*
1.00
1.01
1.02
1.03
1.04
1.05
1.07
1.07_01
1.08
1.08_01
1.09
1.10
1.10_01
1.10_02
1.10_03
1.10_04
1.10_05
1.10_06
1.10_07
1.11
1.12
1.13
1.14
1.15
1.20
1.21_01
1.22
1.23
1.24_01
1.24_02
1.26
1.27
1.28
1.28_01
1.29_01
1.30
1.30_01
1.31
1.32
1.33
1.34
1.35
1.36
1.37
1.37_01

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5089.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-08-12T16:25:41Z"