CVE-2026-7111 Affecting perl-Text-CSV_XS package, versions <1.34-150000.3.3.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.16% (5th 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-SLES157-PERLTEXTCSVXS-16757702
  • published19 May 2026
  • disclosed18 May 2026

Introduced: 18 May 2026

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

How to fix?

Upgrade SLES:15.7 perl-Text-CSV_XS to version 1.34-150000.3.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-Text-CSV_XS package and not the perl-Text-CSV_XS package as distributed by SLES. See How to fix? for SLES:15.7 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