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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to Text-CSV_XS 1.65 or later.


Workaround

No workaround given by the vendor.

History

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Moderate


Fri, 16 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
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.
Title Text::CSV_XS versions before 1.65 for Perl leak the parsed fields of a record that fails to parse in getline
Weaknesses CWE-401
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-16T22:06:46.839Z

Reserved: 2026-10-14T17:06:30.806Z

Link: CVE-2026-110754

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-16T23:17:00.637

Modified: 2026-10-16T23:17:00.637

Link: CVE-2026-110754

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-16T22:06:46Z

Links: CVE-2026-110754 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T01:30:14Z

Weaknesses