All reports
Medium

perl-text-csv_xs: Text::CSV_XS: Denial of Service via crafted carriage return line endings

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-110755

Probability of exploitation in the next 30 days: 0.41%

FIRST EPSS · 2026-11-23

Description

Text::CSV_XS versions before 1.65 for Perl allow quadratic CPU use by copying the unparsed remainder per record of CR-only input in getline. With eol unset, the default, getline reads with Perl's default line separator, so input with CR-only line endings arrives as one chunk. After each record the parser copies the whole unparsed remainder into a new buffer, which the next call parses and copies again, so the work grows with the square of the input size. A reader with default options that is sent CSV with classic Mac line endings spends seconds of CPU time on a megabyte of input.

A flaw was found in Text::CSV_XS. This vulnerability allows an attacker to cause a Denial of Service (DoS) by providing specially crafted comma-separated value (CSV) input using carriage return (CR)-only line endings. Under default configuration settings, the parser repeatedly copies unparsed data across records, leading to excessive CPU consumption and application unresponsiveness.