CVE-2026-7111
published high CVSS 3.1 · 8.4Text::CSV_XS versions before 1.62 for Perl have a use-after-free when registered callbacks extend the Perl argument stack, which may enable type confusion or memory corruption
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HMBRAND | — | Text-CSV_XSText::CSV_XS · 0 to < 1.62 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1697 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | libtext-csv-xs-perl | Advisory build | 1.49-1+deb12u1 | DLA-4648-1 |
| SUSE / openSUSE | SLE-15-SP4 | perl-Text-CSV_XSaarch64 | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| Amazon Linux | AL2023 | perl-Text-CSV_XSaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1697 |
| Debian | bullseye | libtext-csv-xs-perl | Advisory build | 1.45-1+deb11u1 | DLA-4648-1 |
| SUSE / openSUSE | SLE-15-SP4 | perl-Text-CSV_XSppc64le | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | perl-Text-CSV_XSs390x | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP4 | perl-Text-CSV_XSx86_64 | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP5 | perl-Text-CSV_XSaarch64 | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP5 | perl-Text-CSV_XSppc64le | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP5 | perl-Text-CSV_XSs390x | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP5 | perl-Text-CSV_XSx86_64 | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP6 | perl-Text-CSV_XSaarch64 | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP6 | perl-Text-CSV_XSppc64le | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP6 | perl-Text-CSV_XSs390x | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP6 | perl-Text-CSV_XSx86_64 | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Text-CSV_XSaarch64 | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Text-CSV_XSppc64le | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Text-CSV_XSs390x | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-Text-CSV_XSx86_64 | Advisory build | 1.34-150000.3.3.1 | SUSE-SU-2026:1936-1 |
| SUSE / openSUSE | SLE-16 | perl-Text-CSV_XSaarch64 | Advisory build | 1.600.0-160000.3.1 | SUSE-SU-2026:21596-1 |
| SUSE / openSUSE | SLE-16 | perl-Text-CSV_XSppc64le | Advisory build | 1.600.0-160000.3.1 | SUSE-SU-2026:21596-1 |
| SUSE / openSUSE | SLE-16 | perl-Text-CSV_XSs390x | Advisory build | 1.600.0-160000.3.1 | SUSE-SU-2026:21596-1 |
| SUSE / openSUSE | SLE-16 | perl-Text-CSV_XSx86_64 | Advisory build | 1.600.0-160000.3.1 | SUSE-SU-2026:21596-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-Text-CSV_XSaarch64 | Advisory build | 1.600.0-160000.3.1 | OPENSUSE-SU-2026:20708-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-Text-CSV_XSppc64le | Advisory build | 1.600.0-160000.3.1 | OPENSUSE-SU-2026:20708-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-Text-CSV_XSs390x | Advisory build | 1.600.0-160000.3.1 | OPENSUSE-SU-2026:20708-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-Text-CSV_XSx86_64 | Advisory build | 1.600.0-160000.3.1 | OPENSUSE-SU-2026:20708-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Text-CSV_XSaarch64 | Advisory build | 1.620.0-1.1 | OPENSUSE-SU-2026:10774-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Text-CSV_XSppc64le | Advisory build | 1.620.0-1.1 | OPENSUSE-SU-2026:10774-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Text-CSV_XSs390x | Advisory build | 1.620.0-1.1 | OPENSUSE-SU-2026:10774-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Text-CSV_XSx86_64 | Advisory build | 1.620.0-1.1 | OPENSUSE-SU-2026:10774-1 |
| Amazon Linux | AL2023 | perl-Text-CSV_XSsrc | Listed in advisory | Not stated | ALAS2023-2026-1697 |
| Amazon Linux | AL2023 | perl-Text-CSV_XSx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1697 |
Description
Text::CSV_XS versions before 1.62 for Perl have a use-after-free when registered callbacks extend the Perl argument stack, which may enable type confusion or memory corruption. The Parse, print, getline, and getline_all methods invoke registered callbacks (for example after_parse, before_print, or on_error) and cache the Perl argument stack pointer across the call. If a callback extends the argument stack enough to trigger a reallocation, the return value is written through the stale pointer into the freed buffer, and the caller reads the original $self argument as the return value instead. Calling code that expects parsed data from getline_all receives the Text::CSV_XS object in its place, leading to logic errors or crashes. Text::CSV_XS objects used without any registered callbacks are not affected.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HMBRAND | Text::CSV_XS | 0 to < 1.62 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-825 CWE-825 Expired Pointer Dereference
- CWE-416 CWE-416 Use After Free
References
4Provider assertions
3CPANSec · cna
Text::CSV_XS versions before 1.62 for Perl have a use-after-free when registered callbacks extend the Perl argument stack, which may enable type confusion or memory corruption
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 63b6256549a2bb22349c5eb04aefcb4cff9085efcd61400ef5b3598ba13158c8
- Ingested
- 23 Sep 2026, 09:33:51 UTC
- Source record
- Official CVE record