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 th...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSlibtext-csv-xs-perl |
< 1.21-1ubuntu0.1~esm1→ 1.21-1ubuntu0.1~esm1 |
1.21-1ubuntu0.1~esm1 |
| Ubuntu:Pro:18.04:LTSlibtext-csv-xs-perl |
< 1.34-1ubuntu0.1~esm1→ 1.34-1ubuntu0.1~esm1 |
1.34-1ubuntu0.1~esm1 |
| Ubuntu:Pro:20.04:LTSlibtext-csv-xs-perl |
< 1.41-1ubuntu0.1~esm1→ 1.41-1ubuntu0.1~esm1 |
1.41-1ubuntu0.1~esm1 |
| Ubuntu:Pro:22.04:LTSlibtext-csv-xs-perl |
< 1.47-1ubuntu0.1~esm1→ 1.47-1ubuntu0.1~esm1 |
1.47-1ubuntu0.1~esm1 |
| Ubuntu:Pro:24.04:LTSlibtext-csv-xs-perl |
< 1.53-1ubuntu0.1~esm1→ 1.53-1ubuntu0.1~esm1 |
1.53-1ubuntu0.1~esm1 |
| Ubuntu:Pro:26.04:LTSlibtext-csv-xs-perl |
< 1.61-1ubuntu0.1~esm1→ 1.61-1ubuntu0.1~esm1 |
1.61-1ubuntu0.1~esm1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org