Bug#1135232: libtext-csv-xs-perl: CVE-2026-7111
Salvatore Bonaccorso
carnil at debian.org
Wed Apr 29 19:52:26 BST 2026
Source: libtext-csv-xs-perl
Version: 1.61-1
Severity: important
Tags: security upstream
Forwarded: https://github.com/cpan-authors/Text-CSV_XS/issues/65
X-Debbugs-Cc: carnil at debian.org, Debian Security Team <team at security.debian.org>
Hi,
The following vulnerability was published for libtext-csv-xs-perl.
CVE-2026-7111[0]:
| 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.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-7111
https://www.cve.org/CVERecord?id=CVE-2026-7111
[1] https://github.com/cpan-authors/Text-CSV_XS/issues/65
[2] https://lists.security.metacpan.org/cve-announce/msg/39453344/
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
More information about the pkg-perl-maintainers
mailing list