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.
Analysis and contextual insights are available on OpenCVE Cloud.
Vendor Solution
Upgrade to Text-CSV_XS 1.65 or later.
Tracking
Sign in to view the affected projects.
No advisories yet.
Wed, 21 Oct 2026 20:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Hmbrand
Hmbrand text::csv Xs |
|
| Vendors & Products |
Hmbrand
Hmbrand text::csv Xs |
Tue, 20 Oct 2026 19:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
ssvc
|
Sat, 17 Oct 2026 00:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Fri, 16 Oct 2026 22:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | 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 | |
| Weaknesses | CWE-1286 | |
| References |
|
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-10-20T18:36:33.803Z
Reserved: 2026-10-14T17:07:54.223Z
Link: CVE-2026-110759
Updated: 2026-10-20T18:36:00.394Z
Status : Awaiting Analysis
Published: 2026-10-16T23:17:01.170
Modified: 2026-10-20T19:17:30.453
Link: CVE-2026-110759
OpenCVE Enrichment
Updated: 2026-10-21T20:21:51Z