CPANSA-Text-CSV_XS-2026-110753: 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 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.
Vulnerabilities
CVE-2026-110753
Vulnerability DescriptionText::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.
| Weakness | CWE-416 : Use After Free |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Text-CSV_XS greater than or equal 1.46 and less than 1.65 |
|
Fixed
- Text-CSV_XS greater than or equal 1.65
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Text-CSV_XS-2026-110753 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-text-csv_xs-2026-110753.json - https://github.com/cpan-authors/Text-CSV_XS/commit/f082d5c8aab1b8d16b6181d4f3042a06947e260f.patch external
https://github.com/cpan-authors/Text-CSV_XS/commit/f082d5c8aab1b8d16b6181d4f3042a06947e260f.patch - https://metacpan.org/release/HMBRAND/Text-CSV_XS-1.65/changes external
https://metacpan.org/release/HMBRAND/Text-CSV_XS-1.65/changes - CVE-2026-110753 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-110753
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/