CVE-2026-5089
CVE-2026-5089 is a high-severity vulnerability with a CVSS 3.x base score of 7.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-124.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- EPSS exploit prediction: 0% (25th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-29543
- Weakness: CWE-124
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-5089?
- 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.
- How severe is CVE-2026-5089?
- CVE-2026-5089 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2026-5089 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (25th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-5089?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-5089 have an EU (EUVD) identifier?
- Yes. CVE-2026-5089 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-29543.
- When was CVE-2026-5089 published?
- CVE-2026-5089 was published on 2026-05-12 and last updated on 2026-06-17.
References
- https://github.com/cpan-authors/YAML-Syck/commit/208a4d3bd1b5cdb4a791a6e3905bd6bd45e9d005.patch
- https://github.com/cpan-authors/YAML-Syck/issues/132
- https://github.com/cpan-authors/YAML-Syck/pull/133
- https://metacpan.org/release/TODDR/YAML-Syck-1.38/changes
- http://www.openwall.com/lists/oss-security/2026/05/12/16
Other CWE-124 vulnerabilities
- CVE-2026-44631 — Critical (CVSS 9.8): Buffer Underwrite vulnerability in Apache HTTP Server on crafted regular expressions in the configuration. This issue…
- CVE-2023-25610 — Critical (CVSS 9.8): A buffer underwrite ('buffer underflow') vulnerability in the administrative interface of Fortinet FortiOS version…
- CVE-2025-27440 — High (CVSS 8.5): Heap overflow in some Zoom Workplace Apps may allow an authenticated user to conduct an escalation of privilege via…
- CVE-2025-27439 — High (CVSS 8.5): Buffer underflow in some Zoom Workplace Apps may allow an authenticated user to conduct an escalation of privilege via…
- CVE-2026-34253 — High (CVSS 8.2): A buffer underflow vulnerability has been identified in the ogg123 utility from the vorbis-tools 1.4.3 package in…
- CVE-2026-0966 — High (CVSS 8.2): A flaw was found in libssh. The API function `ssh_get_hexa()` is vulnerable to a denial of service when processing…