CVE-2026-5089: CWE-124 Buffer Underwrite ('Buffer Underflow') in TODDR YAML::Syck
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.
AI Analysis
Technical Summary
YAML::Syck prior to version 1.38 for Perl contains a buffer underwrite vulnerability (CWE-124) in its base60 (sexagesimal) parsing implementation. Specifically, in the int#base60 and float#base60 handlers in perl_syck.h, a pointer used to parse colon-separated time values can be decremented past the start of the buffer when processing the leftmost segment, causing an out-of-bounds read. This occurs because the inner loop decrements the pointer until it is less than the start pointer, and then dereferences it without proper bounds checking.
Potential Impact
The vulnerability allows an out-of-bounds read which may lead to information disclosure or potentially affect the integrity and availability of applications using the affected YAML::Syck versions. The CVSS score of 7.3 (high) reflects the network attack vector, low attack complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided, users should monitor the vendor's announcements for updates. Avoid processing untrusted YAML data with affected versions until a fix is available.
CVE-2026-5089: CWE-124 Buffer Underwrite ('Buffer Underflow') in TODDR YAML::Syck
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.
CVSS v3.1
Score 7.3high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
YAML::Syck prior to version 1.38 for Perl contains a buffer underwrite vulnerability (CWE-124) in its base60 (sexagesimal) parsing implementation. Specifically, in the int#base60 and float#base60 handlers in perl_syck.h, a pointer used to parse colon-separated time values can be decremented past the start of the buffer when processing the leftmost segment, causing an out-of-bounds read. This occurs because the inner loop decrements the pointer until it is less than the start pointer, and then dereferences it without proper bounds checking.
Potential Impact
The vulnerability allows an out-of-bounds read which may lead to information disclosure or potentially affect the integrity and availability of applications using the affected YAML::Syck versions. The CVSS score of 7.3 (high) reflects the network attack vector, low attack complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided, users should monitor the vendor's announcements for updates. Avoid processing untrusted YAML data with affected versions until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-03-28T19:33:37.653Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a03d8cfcbff5d86103ec249
Added to database: 05/13/2026, 01:50:07 UTC
Last enriched: 05/20/2026, 18:48:21 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 95
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.