CVE-2026-110756: CWE-116 Improper Encoding or Escaping of Output
Description
Text::CSV_XS versions before 1.65 for Perl improperly handle UTF-8 flagged fields containing invalid UTF-8 bytes during print operations. This causes the end of a record, including its closing quote and line ending, to be dropped, resulting in subsequent records being concatenated onto the same line or misinterpreted as part of the previous field.
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
In Text::CSV_XS versions prior to 1.65, when printing a record containing a UTF-8 flagged field followed by invalid UTF-8 bytes, the print function holds back trailing invalid UTF-8 bytes at each buffer flush to complete split characters. However, after the final flush of the record, these held-back bytes are never written out. This leads to loss of the last byte of the field, the closing quote, and the line ending. Consequently, the next record is written on the same line or, if the last field was quoted, the missing closing quote causes the CSV reader to treat all subsequent records as part of that field. The combine method is not affected by this issue.
Potential Impact
The vulnerability causes corruption of CSV output by dropping the end of records and line endings when invalid UTF-8 bytes are present in UTF-8 flagged fields. This can lead to malformed CSV files where records are concatenated incorrectly, potentially causing data parsing errors or misinterpretation of CSV data downstream. There is no indication of code execution or data leakage.
Mitigation Recommendations
No official patch or fix is currently documented. Users should avoid using Text::CSV_XS versions before 1.65 with UTF-8 flagged fields containing invalid UTF-8 bytes in print operations. Monitor the vendor or CPAN security advisories for updates or patches addressing this issue. Until a fix is available, validate and sanitize UTF-8 input data to prevent invalid byte sequences.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-10-14T17:07:07.806Z
- State
- PUBLISHED
Threat ID: 6ad2a6572cdf04f656423b14
Added to database: 10/16/2026, 22:33:59 UTC
Last enriched: 10/16/2026, 22:48:31 UTC
Last updated: 10/16/2026, 22:49:06 UTC
Views: 7
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.