# CVE-2026-110759: 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

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-10-16T22:08:23.781Z
- Modified: 2026-10-20T19:17:30.453Z
- Weaknesses: CWE-1286
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- Text-CSV_XS: before 1.65

## References

- <https://github.com/cpan-authors/Text-CSV_XS/commit/7627f1a2bb8ffe4e81d9847318a060822043f7f3.patch> (patch)
- <https://metacpan.org/release/HMBRAND/Text-CSV_XS-1.65/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-110759](https://www.cve.org/CVERecord?id=CVE-2026-110759), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-110759](https://nvd.nist.gov/vuln/detail/CVE-2026-110759), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-110759 · Whole record: https://cve.day/CVE-2026-110759.json · Rebuilt by cve.day 2026-11-25T22:59:45.123Z
