Live threats

All CVEs

CVE-2026-110756

Data loss in records with invalid UTF-8 in Text::CSV_XS

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Oct 16, 2026
Updated
Oct 20, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-116
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Text::CSV_XS versions before 1.65 for Perl drop the end of records and line endings when a UTF-8 flagged field precedes invalid UTF-8 bytes in print. An attacker can manipulate CSV data to cause record corruption, data loss, and misreading of subsequent data, affecting the integrity of processed files.

Show the original NVD text

Text::CSV_XS versions before 1.65 for Perl drop the end of a record and its line ending when a UTF-8 flagged field precedes invalid UTF-8 bytes in print. When a record contains a UTF-8 flagged field, print holds back trailing bytes that are not valid UTF-8 at each buffer flush, so that a character split across two flushes can be completed. Nothing writes the held-back bytes after the record's final flush. A record whose last field ends in such a byte loses it, any closing quote and the line ending, while print still returns true. combine is not affected. The next record is written onto the same line, or, when the last field was quoted, the missing closing quote makes a reader take every following record as part of that field.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 1.65

Update Text::CSV_XS to version 1.65 or later to fix data loss in records with invalid UTF-8.

Vendor advisory · metacpan.org ↗

  1. Check whether you run any of the affected products and follow the vendor advisory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.