CVE catalog

CVE-2026-7111

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, getl

[CVE catalog]

Severity
High · CVSS 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.16% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibtext-csv-xs-perlsid1.65-1fixed
Debianlibtext-csv-xs-perlforky1.65-1fixed
Debianlibtext-csv-xs-perltrixie1.60-1+deb13u1fixed
Debianlibtext-csv-xs-perlbookworm1.49-1+deb12u1fixed
Debianlibtext-csv-xs-perlbookworm-security1.49-1+deb12u1fixed
Cpetext\Not reported1.62fixed
Cpelibtext-csv-xs-perlNot reported1.49-1+deb12u1fixed
Opensuseperl-Text-CSV_XStumbleweed1.620.0-1.1fixed
Cpetext\Not reported1.62fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibtext-csv-xs-perlsourcesid1.62-1not yet assignedNot reported[1135232]
Debianlibtext-csv-xs-perlsourceforky1.62-1not yet assignedNot reported[1135232]
Debianlibtext-csv-xs-perlsourcetrixie1.60-1+deb13u1not yet assignedNot reported[1135232]
Debianlibtext-csv-xs-perlsourcebookworm1.49-1+deb12u1not yet assignedNot reported[1135232]
Cpetext\cpeNot reported1.62Not reportedNot reportedNot reported
Cpelibtext-csv-xs-perlcpeNot reported1.49-1+deb12u1Not reportedNot reportedNot reported
Opensuseperl-Text-CSV_XSrpmtumbleweed1.620.0-1.1Not reportedOPENSUSE-SU-2026:10774-1Not reported
Cpetext\cpeNot reported1.62Not reportedNVD-CVE-2026-7111Not reported

[Debian bug #1135232]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (4)
    • 1.49-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.49-1+deb12u1

      nvd · libtext-csv-xs-perl · debian · bookworm; nvd · libtext-csv-xs-perl · debian · 12

    • 1.49-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.49-1+deb12u1

      nvd · libtext-csv-xs-perl · debian · bookworm; nvd · libtext-csv-xs-perl · debian · 12

    • 1.49-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.49-1+deb12u1

      nvd · libtext-csv-xs-perl · debian · bookworm; nvd · libtext-csv-xs-perl · debian · 12

    • 1.49-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.49-1+deb12u1

      nvd · libtext-csv-xs-perl · debian · bookworm; nvd · libtext-csv-xs-perl · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.60-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.60-1+deb13u1

      nvd · libtext-csv-xs-perl · debian · 13

    • 1.60-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.60-1+deb13u1

      nvd · libtext-csv-xs-perl · debian · 13

[openSUSE Tumbleweed]

  • Source package: [perl-Text-CSV_XS]

    Details (1)
    • 1.640.0-1.4 · x86_64 · tumbleweed

      Fixed · Fixed: 1.620.0-1.1

      nvd · perl-Text-CSV_XS · opensuse · tumbleweed

Observed:

References