USN-9357-1: libtext-csv-xs-perl vulnerabilities
It was discovered that Text::CSVXS incorrectly handled the Perl argument stack when registered callbacks extended it, leading to a use-after-free. An attacker could possibly use this issue to cause applications using Text::CSVXS to crash, resulting in a denial of service, or another unspecified impact. (CVE-2026-7111)
It was discovered that Text::CSVXS allocated one entry for every selected index when processing RFC 7111 fragment selectors. An attacker could possibly use this issue to cause applications using Text::CSVXS to consume excessive memory, leading to a denial of service. (CVE-2026-110752)
It was discovered that Text::CSVXS incorrectly freed variables bound with bindcolumns when skipping empty lines, leading to a use-after-free. An attacker could possibly use this issue to cause applications using Text::CSVXS to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-110753)
It was discovered that Text::CSVXS inefficiently processed input that used carriage returns alone as line endings. An attacker could possibly use this issue to cause applications using Text::CSVXS to consume excessive CPU resources, leading to a denial of service. (CVE-2026-110755)
It was discovered that Text::CSVXS could drop the end of a record, including its line ending, when printing a record that contained UTF-8 data and ended with invalid UTF-8 bytes. An attacker could possibly use this issue to corrupt CSV data written by applications using Text::CSVXS. (CVE-2026-110756)
It was discovered that Text::CSVXS did not quote values that had been used as numbers when writing records, even when they contained newlines. An attacker could possibly use this issue to inject additional records into CSV data written by applications using Text::CSVXS. (CVE-2026-110757)
It was discovered that Text::CSVXS incorrectly removed trailing whitespace from fields that consisted only of blanks when the allowwhitespace option was enabled, leading to an out-of-bounds read and possible memory corruption. An attacker could possibly use this issue to cause applications using Text::CSVXS to crash, resulting in a denial of service. (CVE-2026-110758)
It was discovered that Text::CSVXS incorrectly parsed input that ended with a separator followed by a lone carriage return, returning a byte that was not present in the input. An attacker could possibly use this issue to cause applications using Text::CSVXS to process malformed data. (CVE-2026-110759)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libtext-csv-xs-perlto a version that resolves this vulnerability.Fixed in 1.21-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libtext-csv-xs-perlto a version that resolves this vulnerability.Fixed in 1.34-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libtext-csv-xs-perlto a version that resolves this vulnerability.Fixed in 1.41-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libtext-csv-xs-perlto a version that resolves this vulnerability.Fixed in 1.47-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libtext-csv-xs-perlto a version that resolves this vulnerability.Fixed in 1.53-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libtext-csv-xs-perlto a version that resolves this vulnerability.Fixed in 1.61-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libtext-csv-xs-perlto a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which Ubuntu releases are affected by the bind_columns use-after-free issue?
The issue involving variables bound with bind_columns when empty lines are skipped affects Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS only.
What application behavior could expose systems to the memory-exhaustion issues?
Applications may be exposed when they process attacker-controlled CSV input using RFC 7111 fragment selectors, because a selected index causes an entry to be allocated. Input using carriage returns alone as line endings can also be processed inefficiently and consume excessive resources.
What conditions are associated with the callback-related use-after-free?
The callback-related issue occurs when registered callbacks extend the Perl argument stack. Exploitation could crash an application using Text::CSV_XS, causing denial of service, with another unspecified impact also possible.