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

Leon Timmermans

·

Published

2026-04-29

·

Updated

2026-05-13

·

CVE-2026-7111

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.

Fix

Use After Free

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

Weakness Enumeration

Related Identifiers

CVE-2026-7111
OPENSUSE-SU-2026:10774-1

Affected Products

Text::Csv Xs