Description
Text::CSV_XS versions before 1.65 for Perl allow memory exhaustion by allocating one entry per index of an RFC 7111 selector in fragment.

fragment expands a row= or col= selector into an array with one element per selected index before it reads any data, and it does not clamp an explicit end column in a cell= selector to the row. Only the syntax and order of the ranges are checked, so row=1-400000000 on a two-line file allocates 400 million elements.

An application that passes a request-supplied fragment to fragment or csv can be made to exhaust memory, which ends the process with an Out of memory error that eval cannot catch.
Published: 2026-10-16
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Memory Exhaustion
Action: Apply Patch
AI Analysis

Impact

The Text-CSV_XS module for Perl has a flaw that causes the program to allocate an array entry for every index specified in an RFC 7111 selector fragment before reading any data. When a large range such as row=1-400000000 is supplied, the module reserves 400 million array elements, exhausting system memory and resulting in an out‑of‑memory error that cannot be caught by eval. This is a classic denial‑of‑service or resource exhaustion vulnerability, identified as CWE‑770.

Affected Systems

All installations of the Text-CSV_XS Perl module prior to version 1.65 are affected. Indeed, any version below 1.65 that parses RFC 7111 selector fragments will be prone to this memory exhaustion.

Risk and Exploitability

An attacker can trigger the flaw by supplying a malicious fragment in a CSV file that the application processes. If the application receives user‑supplied fragments—such as via a web form or file upload—the attacker can craft a request that causes the module to allocate a huge array, exhausting memory. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the potential for a remote denial‑of‑service remains high, especially in exposed services. The lack of a physical attack vector in the description suggests the attack is feasible in typical use where untrusted input is parsed.

Generated by OpenCVE AI on October 16, 2026 at 23:18 UTC.

Remediation

Vendor Solution

Upgrade to Text-CSV_XS 1.65 or later.


OpenCVE Recommended Actions

  • Upgrade the Text-CSV_XS module to version 1.65 or later per the vendor’s recommendation.
  • If an immediate upgrade is not feasible, enforce strict validation of fragment inputs—reject ranges that exceed a safe upper bound and ensure explicit end columns are clamped.
  • Apply system or container memory limits (ulimit, cgroups) to the process so that an out‑of‑memory condition does not bring down the host or other services.

Generated by OpenCVE AI on October 16, 2026 at 23:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important


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

Type Values Removed Values Added
Description Text::CSV_XS versions before 1.65 for Perl allow memory exhaustion by allocating one entry per index of an RFC 7111 selector in fragment. fragment expands a row= or col= selector into an array with one element per selected index before it reads any data, and it does not clamp an explicit end column in a cell= selector to the row. Only the syntax and order of the ranges are checked, so row=1-400000000 on a two-line file allocates 400 million elements. An application that passes a request-supplied fragment to fragment or csv can be made to exhaust memory, which ends the process with an Out of memory error that eval cannot catch.
Title Text::CSV_XS versions before 1.65 for Perl allow memory exhaustion by allocating one entry per index of an RFC 7111 selector in fragment
Weaknesses CWE-770
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

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

Reserved: 2026-10-14T17:05:46.947Z

Link: CVE-2026-110752

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-110752

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-110752 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T23:30:13Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling