CVE-2026-110759
Invalid byte injection in CSV parsing in Text::CSV_XS
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-1286
- 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 versions before 1.65 for Perl inject a 0xFF byte not present in the input when parsing an empty last field followed by a lone carriage return. An attacker can provide malformed CSV files that cause the application to process corrupted or invalid UTF-8 data, potentially leading to code execution or data corruption.
Show the original NVD text
Text::CSV_XS versions before 1.65 for Perl return a 0xFF byte that is not in the input for an empty last field followed by a lone CR in parse.
When the input to parse ends in a separator and a lone CR, the parser treats the end of the input as the next character and stores the end-of-file marker in the field as the byte 0xFF. With binary set, parse("a,\r") returns the fields "a" and "\xFF". On UTF-8 flagged input the last field is a UTF-8 flagged string holding that lone byte, which is malformed UTF-8. The same input with a non-empty last field is rejected as an error.
A CRLF file read line by line and chomped ends this way when its last column is empty, so the application receives a byte that is not in its input.
What to do
Patch available · fixed versions: 1.65
Update Text::CSV_XS to version 1.65 or later.
- 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.