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

Published Oct 16, 2026
·
Updated

Text::CSVXS 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.

Affected Software

1 affected component
cpan/Text::CSV_XS<1.65

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Text::CSV_XS to a version that resolves this vulnerability.

    Fixed in 1.65

Event History

Oct 16, 2026
CVE Published
via MITRE·10:06 PM
Data Sourced
via MITRE·10:06 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Who is realistically exposed to memory exhaustion from this issue?

Long-running Perl processes that use Text::CSV_XS getline to parse untrusted CSV input are exposed. Repeated malformed records can cause the process to retain parsed fields from each failed record until memory is exhausted.

2

What input is required to trigger the leak?

An attacker or other input source must provide CSV records with syntax errors to code that calls getline. Each failed parse causes getline to return undef while retaining the array and fields accumulated before the error.

3

Are successful CSV records affected?

The described leak occurs when getline encounters a record with a syntax error. On successful parsing, getline returns a reference to the newly collected fields array.

4

How can I tell whether an application may be affected?

Check whether it uses Text::CSV_XS before version 1.65 and calls getline on attacker-controlled or otherwise untrusted CSV data. Affected processes may show memory growth correlated with repeated CSV parse failures.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203