CVE-2026-110757
Newline Injection in Text::CSV_XS for Perl
Critical 9.8 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 16, 2026
- Updated
- Oct 20, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-116
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Text::CSV_XS before version 1.65 fails to properly validate numeric fields when writing CSV records, allowing values with newlines to be written unquoted. An attacker can inject newlines into fields validated as numbers to split records and manipulate CSV structure, compromising data integrity in processed files.
Show the original NVD text
Text::CSV_XS versions before 1.65 for Perl allow record splitting by writing strings used as numbers without quotes in combine.
combine and print do not check whether a field needs quotes when its value has Perl's integer or numeric flag set. Perl sets these flags on a string used in a numeric operation when it parses as a number, which allows leading and trailing whitespace. With binary set, as csv does by default, "12\n" passes a check such as $qty > 0 and is then written unquoted with its newline.
A value validated as a number can end the record early and turn the fields after it into a separate row.
What to do
Patch available · fixed versions: 1.65
Update Text::CSV_XS to version 1.65 or later to fix numeric field validation in the combine function.
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Official advisories
- Security update for perl-Text-CSV_XS · SUSE · SUSE-SU-2026:5120-1 · Nov 5, 2026 Critical
- perl-Text-CSV_XS-1.650.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12218-1 · Oct 21, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.