CVE-2026-110757 PUBLISHED

Text::CSV_XS versions before 1.65 for Perl allow record splitting by writing strings used as numbers without quotes in combine

Assigner: CPANSec
Reserved: 14.10.2026 Published: 16.10.2026 Updated: 16.10.2026

Text::CSV_XS versions before 1.65 for Perl allow record splitting by writing strings used as numbers without quotes in combine.

combine and print do not check whether a field needs quotes when its value has Perl's integer or numeric flag set. Perl sets these flags on a string used in a numeric operation when it parses as a number, which allows leading and trailing whitespace. With binary set, as csv does by default, "12\n" passes a check such as $qty > 0 and is then written unquoted with its newline.

A value validated as a number can end the record early and turn the fields after it into a separate row.

Product Status

Package Collection https://cpan.org/modules
Package Name Text-CSV_XS
Versions Default: unaffected
  • affected from 0 to 1.65 (excl.)

Solutions

Upgrade to Text-CSV_XS 1.65 or later.

References

Problem Types

  • CWE-116 Improper Encoding or Escaping of Output CWE