Text::CSV_XS versions before 1.65 for Perl allow quadratic CPU use by copying the unparsed remainder per record of CR-only input in getline. With eol...
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 allow quadratic CPU use by copying the unparsed remainder per record of CR-only input in getline. With eol unset, the default, getline reads with Perl's default line separator, so input with CR-only line endings arrives as one chunk. After each record the parser copies the whole unparsed remainder into a new buffer, which the next call parses and copies again, so the work grows with the square of the input size. A reader with default options that is sent CSV with classic Mac line endings spends seconds of CPU time on a megabyte of input.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org