Description
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.
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