CPANSA-Text-CSV_XS-2026-110757: Text-CSV_XS vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-10-16T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-10-16T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 9.8 Severity
Original language Language en
Also referred to

Vulnerability Description

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.

Vulnerabilities

CVE-2026-110757

Vulnerability Description

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.

Weakness CWE-116 : Improper Encoding or Escaping of Output

Product status

Known affected
Product Score
Text-CSV_XS less than 1.65
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 Critical
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Fri Oct 16 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/