---
id: CVE-2026-110753
title: >-
  Text::CSV_XS versions from 1.46 before 1.65 for Perl have a use-after-free of
  bind_columns variables when skip_empty_rows skips an empty line in getline
summary: >-
  Text::CSV_XS versions from 1.46 before 1.65 for Perl have a use-after-free of
  bind_columns variables when skip_empty_rows skips an empty line in getline.


  With bind_columns, the parser writes each field into the caller's own scalar
  witho…
severity: none
cwe:
  - CWE-416
  - CWE-911
product: Text-CSV_XS
affected:
  - Text-CSV_XS >= 1.46 < 1.65
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T22:06:23.680Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-110753'
references:
  - url: >-
      https://github.com/cpan-authors/Text-CSV_XS/commit/f082d5c8aab1b8d16b6181d4f3042a06947e260f.patch
  - url: 'https://metacpan.org/release/HMBRAND/Text-CSV_XS-1.65/changes'
tags:
  - cve.org
ingestedAt: '2026-10-16T22:54:45.851Z'
---

## Overview

Text::CSV_XS versions from 1.46 before 1.65 for Perl have a use-after-free of bind_columns variables when skip_empty_rows skips an empty line in getline.

With bind_columns, the parser writes each field into the caller's own scalar without taking a reference to it. When skip_empty_rows skips an empty last line, the parser frees the current field scalar without checking whether it is bound, dropping one reference from the application's variable. The "eof" mode does the same on any empty line.

The variable is then freed while the application still references it, so later code uses freed memory and can crash the process.

## Affected

- `Text-CSV_XS >= 1.46 < 1.65`

## Remediation

Upgrade to Text-CSV_XS 1.65 or later.
