CVE-2026-35380
JSON

5.5medium

uutils coreutils cut Local Logic Error and Data Integrity Issue in Delimiter Parsing

Severity
5.5medium CVSS:3.1 by canonical
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
canonical
Also known as
GHSA-m2pg-c7m6-77pj

Description

A logic error in the cut utility of uutils coreutils causes the program to incorrectly interpret the literal two-byte string '' (two single quotes) as an empty delimiter. The implementation mistakenly maps this string to the NUL character for both the -d (delimiter) and --output-delimiter options. This vulnerability can lead to silent data corruption or logic errors in automated scripts and data pipelines that process strings containing these characters, as the utility may unintentionally split or join data on NUL bytes rather than the intended literal characters.

Affected

Product or packageVersionsReported by
coreutilsbefore 0.8.0CVE List
coreutils (crates.io)before 0.8.0GitHub Advisory Database
uutils coreutilsbefore 0.8.0NVD

All scores

canonical5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A logic error in the cut utility of uutils coreutils causes the program to incorrectly interpret the literal two-byte string '' (two single quotes) as an empty delimiter. The implementation mistakenly maps this string to the NUL character for both the -d (delimiter) and --output-delimiter options. This vulnerability can lead to silent data corruption or logic errors in automated scripts and data pipelines that process strings containing these characters, as the utility may unintentionally split or join data on NUL bytes rather than the intended literal characters.

NVD (es)

Un error lógico en la utilidad cut de uutils coreutils hace que el programa interprete incorrectamente la cadena literal de dos bytes ’’ (dos comillas simples) como un delimitador vacío. La implementación mapea erróneamente esta cadena al carácter NUL tanto para las opciones -d (delimitador) como --output-delimiter. Esta vulnerabilidad puede llevar a una corrupción silenciosa de datos o a errores lógicos en scripts automatizados y pipelines de datos que procesan cadenas que contienen estos caracteres, ya que la utilidad puede dividir o unir datos involuntariamente en bytes NUL en lugar de los caracteres literales previstos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-35380 changed 2026-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-m2pg-c7m6-77pj changed 2026-05-05CC-BY-4.0
NVDCVE-2026-35380 changed 2026-10-26Public domain