Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Text-CSV_XS | < 1.65 | 1.65 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libtext-csv-xs-perl | 1.65-1 | — |
| Debian 13 | libtext-csv-xs-perl | No fix yet | — |
| Debian 12 | libtext-csv-xs-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libtext-csv-xs-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libtext-csv-xs-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libtext-csv-xs-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libtext-csv-xs-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libtext-csv-xs-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libtext-csv-xs-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libtext-csv-xs-perl | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | perl-Text-CSV_XS | 1.34-150000.3.6.1 | SUSE-SU-2026:5120-1 |
| SLES 15 SP6 | perl-Text-CSV_XS | 1.34-150000.3.6.1 | SUSE-SU-2026:5120-1 |
| SLES 15 SP5 | perl-Text-CSV_XS | 1.34-150000.3.6.1 | SUSE-SU-2026:5120-1 |
| SLES 15 SP4 | perl-Text-CSV_XS | 1.34-150000.3.6.1 | SUSE-SU-2026:5120-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | perl-Text-CSV_XS | 1.34-150000.3.6.1 | SUSE-SU-2026:5120-1 |
| SLES for SAP 15 SP5 | perl-Text-CSV_XS | 1.34-150000.3.6.1 | SUSE-SU-2026:5120-1 |
| SLES for SAP 15 SP4 | perl-Text-CSV_XS | 1.34-150000.3.6.1 | SUSE-SU-2026:5120-1 |
| SLE HPC 15 SP5 | perl-Text-CSV_XS | 1.34-150000.3.6.1 | SUSE-SU-2026:5120-1 |
| SLE HPC 15 SP4 | perl-Text-CSV_XS | 1.34-150000.3.6.1 | SUSE-SU-2026:5120-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Text-CSV_XS | 1.650.0-1.1 | openSUSE-SU-2026:12218-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | perl-Text-CSV_XS | 1.65-1.amzn2023.0.1 | ALAS2023-2026-3340 |
| Amazon Linux 2 | perl-Text-CSV_XS | 1.00-3.amzn2.0.3 | ALAS2-2026-4048 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | perl-Text-CSV_XS | No fix yet | — |
Advisories 4
- SUSE-SU-2026:5120-1 Security update for perl-Text-CSV_XS SUSE / openSUSE Security Updates · Nov 6, 2026
- ALAS2023-2026-3340 Important: perl-Text-CSV_XS security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 2, 2026
- ALAS2-2026-4048 Important: perl-Text-CSV_XS security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 2, 2026
- openSUSE-SU-2026:12218-1 perl-Text-CSV_XS-1.650.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 22, 2026