Text::CSV_XS versions before 1.65 for Perl leak the parsed fields of a record that fails to parse in getline. getline collects the fields of a record...
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 leak the parsed fields of a record that fails to parse in getline. getline collects the fields of a record into a new array and returns a reference to it only when the parse succeeds. When the record has a syntax error, getline returns undef and never frees the array or the fields parsed before the error. A long-running process parsing untrusted CSV retains every malformed record it is sent, so repeated malformed input exhausts its memory.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org