PT-2026-35929 · Cpan+1 · Text::Csv Xs+1

·

CVE-2026-7111

·

Published

2026-04-29

·

Updated

2026-07-06

CVSS v3.1

8.4

High

VectorAV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Text::CSV XS versions prior to 1.62
Description A use-after-free issue exists when registered callbacks extend the Perl argument stack, potentially leading to type confusion or memory corruption. The Parse, print, getline, and getline all methods invoke registered callbacks, such as after parse, before print, or on error, and cache the Perl argument stack pointer. If a callback triggers a reallocation by extending the stack, the return value is written through a stale pointer into a freed buffer. Consequently, the caller may receive the original $self argument instead of the expected parsed data, resulting in logic errors or crashes. This issue does not affect objects used without registered callbacks.
Recommendations Update to version 1.62 or later. As a temporary workaround, avoid using registered callbacks in the Parse, print, getline, and getline all methods.

Exploit

Fix

DoS

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-85922
BDU:2026-09997
CVE-2026-7111
OPENSUSE-SU-2026:10774-1
OPENSUSE-SU-2026:20708-1
SUSE-SU-2026:1936-1
SUSE-SU-2026:21596-1

Affected Products

Red Os
Text::Csv Xs