CVE-2026-7111 Affecting libtext-csv-xs-perl package, versions <1.60-1+deb13u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-LIBTEXTCSVXSPERL-16338486
  • published2 May 2026
  • disclosed29 Apr 2026

Introduced: 29 Apr 2026

CVE-2026-7111  (opens in a new tab)

How to fix?

Upgrade Debian:13 libtext-csv-xs-perl to version 1.60-1+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtext-csv-xs-perl package and not the libtext-csv-xs-perl package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1