CVE-2026-110757: CWE-116 Improper Encoding or Escaping of Output
Description
Text::CSV_XS versions before 1.65 for Perl have a vulnerability where numeric fields that contain leading or trailing whitespace and newline characters can be written without quotes during CSV record combining. This improper encoding allows a numeric value with a newline to prematurely terminate a CSV record, causing subsequent fields to be interpreted as a new record.
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 prior to version 1.65 arises because the combine and print functions do not verify if a field requires quoting when the field's value has Perl's numeric flag set. Perl sets this flag on strings used in numeric operations, which can include strings with leading or trailing whitespace and newline characters. When such a value (e.g., "12\n") passes numeric checks, it is written unquoted, allowing the newline to split the CSV record unexpectedly. This improper escaping or encoding of output corresponds to CWE-116.
Potential Impact
An attacker or malformed input can cause CSV records to be split incorrectly by injecting newline characters into numeric fields that are written without quotes. This can disrupt CSV parsing and data integrity, potentially leading to incorrect data processing or injection of unintended records.
Mitigation Recommendations
No official patch or fix information is provided in the advisory. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid using affected versions or implement input validation to ensure numeric fields do not contain newline characters or leading/trailing whitespace that could cause record splitting.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-10-14T17:07:22.647Z
- State
- PUBLISHED
Threat ID: 6ad2a6572cdf04f656423b15
Added to database: 10/16/2026, 22:33:59 UTC
Last enriched: 10/16/2026, 22:48:27 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.