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.
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
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libtext-csv-xs-perl · Debian 12.15 (bookworm) | 1.49-1+deb12u1 | DEBIAN-CVE-2026-7111 | May 27, 2026 |
| libtext-csv-xs-perl · Debian 13.5 (trixie) | 1.60-1+deb13u1 | DEBIAN-CVE-2026-7111 | May 27, 2026 |
| libtext-csv-xs-perl · Debian 14 | 1.62-1 | DEBIAN-CVE-2026-7111 | May 27, 2026 |
| perl-Text-CSV_XS · amzn 2023 | 1.62-1.amzn2023.0.1 | ALAS2023-2026-1697 | May 11, 2026 |
| perl-Text-CSV_XS-debuginfo · amzn 2023 | 1.62-1.amzn2023.0.1 | ALAS2023-2026-1697 | May 11, 2026 |
| perl-Text-CSV_XS-debugsource · amzn 2023 | 1.62-1.amzn2023.0.1 | ALAS2023-2026-1697 | May 11, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
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.