CVE-2026-110754 PUBLISHED

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

Assigner: CPANSec
Reserved: 14.10.2026 Published: 16.10.2026 Updated: 16.10.2026

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.

Product Status

Package Collection https://cpan.org/modules
Package Name Text-CSV_XS
Versions Default: unaffected
  • affected from 0 to 1.65 (excl.)

Solutions

Upgrade to Text-CSV_XS 1.65 or later.

References

Problem Types

  • CWE-401 Missing Release of Memory after Effective Lifetime CWE