Text::CSV_XS versions before 1.65 for Perl drop the end of a record and its line ending when a UTF-8 flagged field precedes invalid UTF-8 bytes in pri...
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 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:26.04:LTSlibtext-csv-xs-perl |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Text::CSV_XS versions before 1.65 for Perl drop the end of a record and its line ending when a UTF-8 flagged field precedes invalid UTF-8 bytes in print. When a record contains a UTF-8 flagged field, print holds back trailing bytes that are not valid UTF-8 at each buffer flush, so that a character split across two flushes can be completed. Nothing writes the held-back bytes after the record's final flush. A record whose last field ends in such a byte loses it, any closing quote and the line ending, while print still returns true. combine is not affected. The next record is written onto the same line, or, when the last field was quoted, the missing closing quote makes a reader take every following record as part of that field.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org