CVE-2026-110758: CWE-127 Buffer Under-read
Description
Text::CSV_XS versions before 1.65 for Perl contain a buffer under-read vulnerability in the strip_trail_whitespace function when allow_whitespace is enabled. This occurs because the function reads bytes before the start of an all-blank field's buffer, potentially accessing memory outside the intended bounds. The issue arises specifically with fields consisting only of blanks under certain parsing conditions involving escape characters or quoted fields ending with two carriage returns.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Text::CSV_XS (CVE-2026-110758) involves a buffer under-read (CWE-127) in versions prior to 1.65. When allow_whitespace is enabled, the strip_trail_whitespace function removes trailing spaces and tabs from unquoted fields but does not properly stop at the start of the field buffer. For fields composed entirely of blanks, this results in reading bytes before the allocated buffer. If these bytes are also whitespace characters, they may be zeroed out and the backward traversal continues depending on allocator behavior. This flaw can occur when an all-blank field follows a leading escape character different from the quote character or as a quoted field in getline when the line ends with two carriage returns.
Potential Impact
The buffer under-read may lead to reading memory outside the intended buffer, which can cause undefined behavior such as data leakage or program instability. However, no known exploits are reported in the wild. The impact is limited to the internal parsing logic of Text::CSV_XS when processing specific CSV input patterns.
Mitigation Recommendations
No official patch or fix information is provided in the available data. Users should upgrade to Text::CSV_XS version 1.65 or later once available, as versions before 1.65 are affected. Until a fix is confirmed, avoid processing CSV inputs that trigger the vulnerable code path, such as all-blank fields with leading escape characters or quoted fields ending with two carriage returns. Monitor the vendor or CPAN security advisories for updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-10-14T17:07:36.990Z
- State
- PUBLISHED
Threat ID: 6ad2a6572cdf04f656423b16
Added to database: 10/16/2026, 22:33:59 UTC
Last enriched: 10/16/2026, 22:48:24 UTC
Last updated: 10/16/2026, 22:49:06 UTC
Views: 8
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.