CVE-2026-35379
JSON

3.3low

uutils coreutils tr Local Logic Error and Data Integrity Issue in Character Class Handling

Severity
3.3low CVSS:3.1 by canonical
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
canonical
Also known as
GHSA-fhr3-xh3q-69w6

Description

A logic error in the tr utility of uutils coreutils causes the program to incorrectly define the [:graph:] and [:print:] character classes. The implementation mistakenly includes the ASCII space character (0x20) in the [:graph:] class and excludes it from the [:print:] class, effectively reversing the standard behavior established by POSIX and GNU coreutils. This vulnerability leads to unintended data modification or loss when the utility is used in automated scripts or data-cleaning pipelines that rely on standard character class semantics. For example, a command executed to delete all graphical characters while intending to preserve whitespace will incorrectly delete all ASCII spaces, potentially resulting in data corruption or logic failures in downstream processing.

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

canonical3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
GitHub3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-684

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

What each source says

CVE List

A logic error in the tr utility of uutils coreutils causes the program to incorrectly define the [:graph:] and [:print:] character classes. The implementation mistakenly includes the ASCII space character (0x20) in the [:graph:] class and excludes it from the [:print:] class, effectively reversing the standard behavior established by POSIX and GNU coreutils. This vulnerability leads to unintended data modification or loss when the utility is used in automated scripts or data-cleaning pipelines that rely on standard character class semantics. For example, a command executed to delete all graphical characters while intending to preserve whitespace will incorrectly delete all ASCII spaces, potentially resulting in data corruption or logic failures in downstream processing.

NVD (es)

Un error de lógica en la utilidad “tr” de “uutils coreutils” hace que el programa defina incorrectamente las clases de caracteres “[:graph:]” y “[:print:]”. La implementación incluye erróneamente el carácter de espacio ASCII (0x20) en la clase “[:graph:]” y lo excluye de la clase “[:print:]”, invirtiendo efectivamente el comportamiento estándar establecido por POSIX y GNU coreutils. Esta vulnerabilidad conduce a una modificación o pérdida de datos no intencionada cuando la utilidad se usa en scripts automatizados o pipelines de limpieza de datos que dependen de la semántica estándar de las clases de caracteres. Por ejemplo, un comando ejecutado para eliminar todos los caracteres gráficos con la intención de preservar los espacios en blanco eliminará incorrectamente todos los espacios ASCII, lo que podría resultar en corrupción de datos o fallos de lógica en el procesamiento posterior.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-35379 changed 2026-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-fhr3-xh3q-69w6 changed 2026-05-05CC-BY-4.0
NVDCVE-2026-35379 changed 2026-10-26Public domain