GHSA-v7vg-mqfq-633jMediumCVSS 6.5

Text::CSV_XS versions before 1.65 for Perl leak the parsed fields of a record that fails to parse...

Published
October 17, 2026
Last Modified
October 20, 2026

🔗 CVE IDs covered (1)

📋 Description

Text::CSV_XS versions before 1.65 for Perl leak the parsed fields of a record that fails to parse in getline.

getline collects the fields of a record into a new array and returns a reference to it only when the parse succeeds. When the record has a syntax error, getline returns undef and never frees the array or the fields parsed before the error.

A long-running process parsing untrusted CSV retains every malformed record it is sent, so repeated malformed input exhausts its memory.

🔗 References (4)