Skip to main content
CVE-2026-7111VulnerabilityPublished Updated

Libtext csv xs perl: Text::CSV_XS versions before 1.62 for Perl have a use-after-free when registered callbacks extend

Affects libtext-csv-xs-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-7111· High 8.4

Not known to be exploited · CVSS 8.4 High.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libtext-csv-xs-perlpkg:deb/ubuntu/libtext-csv-xs-perl?arch=source&distro=stonkingOther threatsAffected
  • 1.61-1 – 1.64-1build1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSlibtext-csv-xs-perlpkg:deb/ubuntu/libtext-csv-xs-perl?arch=source&distro=resoluteOther threatsAffected
  • =1.60-1
  • =1.61-1
Fixed in–
Ubuntu 25.10libtext-csv-xs-perlpkg:deb/ubuntu/libtext-csv-xs-perl?arch=source&distro=questingOther threatsAffected
  • =1.60-1
Fixed in–
Ubuntu 24.04 LTSlibtext-csv-xs-perlpkg:deb/ubuntu/libtext-csv-xs-perl?arch=source&distro=nobleOther threatsAffected
  • 1.51-1 – 1.53-1build3
6 affected builds
Fixed in–
Ubuntu 22.04 LTSlibtext-csv-xs-perlpkg:deb/ubuntu/libtext-csv-xs-perl?arch=source&distro=jammyOther threatsAffected
  • 1.45-1 – 1.47-1build1
4 affected builds
Fixed in–
Ubuntu 20.04 LTSlibtext-csv-xs-perlpkg:deb/ubuntu/libtext-csv-xs-perl?arch=source&distro=focalOther threatsAffected
  • 1.39-1 – 1.41-1
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…