---
id: CVE-2026-110754
title: >-
  Text::CSV_XS versions before 1.65 for Perl leak the parsed fields of a record
  that fails to parse in getline
summary: >-
  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 …
severity: none
cwe:
  - CWE-401
product: Text-CSV_XS
affected:
  - Text-CSV_XS < 1.65
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T22:06:46.839Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-110754'
references:
  - url: >-
      https://github.com/cpan-authors/Text-CSV_XS/commit/eb4f739ffc605bfb1ab710e5330704faa0e89f08.patch
  - url: 'https://metacpan.org/release/HMBRAND/Text-CSV_XS-1.65/changes'
tags:
  - cve.org
ingestedAt: '2026-10-16T22:54:45.852Z'
---

## Overview

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.

## Affected

- `Text-CSV_XS < 1.65`

## Remediation

Upgrade to Text-CSV_XS 1.65 or later.
