# CVE-2026-7111: libtext-csv-xs-perl: Text::CSV_XS versions before 1.62 for Perl have a use-after-free when registered callbacks extend the Perl argument s...

CVE-2026-7111 is fixed in 4 products on 1 platform, first by ALAS2023-2026-1697, released May 11, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-7111
- Priority: High
- CVSS: 8.4 (high)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 29, 2026

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libtext-csv-xs-perl Debian 12.15 (bookworm) | 1.49-1+deb12u1 | [DEBIAN-CVE-2026-7111](https://patchblox.com/security/data/fix/linux/debian-cve-2026-7111.md) | May 27, 2026 |
| Linux | libtext-csv-xs-perl Debian 13.5 (trixie) | 1.60-1+deb13u1 | [DEBIAN-CVE-2026-7111](https://patchblox.com/security/data/fix/linux/debian-cve-2026-7111.md) | May 27, 2026 |
| Linux | libtext-csv-xs-perl Debian 14 | 1.62-1 | [DEBIAN-CVE-2026-7111](https://patchblox.com/security/data/fix/linux/debian-cve-2026-7111.md) | May 27, 2026 |
| Linux | perl-Text-CSV_XS amzn 2023 | 1.62-1.amzn2023.0.1 | [ALAS2023-2026-1697](https://patchblox.com/security/data/fix/linux/alas2023-2026-1697.md) | May 11, 2026 |
| Linux | perl-Text-CSV_XS-debuginfo amzn 2023 | 1.62-1.amzn2023.0.1 | [ALAS2023-2026-1697](https://patchblox.com/security/data/fix/linux/alas2023-2026-1697.md) | May 11, 2026 |
| Linux | perl-Text-CSV_XS-debugsource amzn 2023 | 1.62-1.amzn2023.0.1 | [ALAS2023-2026-1697](https://patchblox.com/security/data/fix/linux/alas2023-2026-1697.md) | May 11, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
