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 package | Versions | Reported by |
|---|---|---|
| coreutils | before 0.8.0 | CVE List |
| coreutils (crates.io) | before 0.8.0 | GitHub Advisory Database |
| uutils coreutils | before 0.8.0 | NVD |
All scores
| canonical | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Classification
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
| https://github.com/uutils/coreutils/pull/11405 | exploit, issue-tracking, patch, web | |
| https://github.com/uutils/coreutils/releases/tag/0.8.0 | release-notes, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-35379 | advisory | |
| https://github.com/uutils/coreutils/commit/358063f3367cb23a1e5db314cfdbfeb607749b3d | web | |
| https://github.com/uutils/coreutils | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-35379 changed 2026-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fhr3-xh3q-69w6 changed 2026-05-05 | CC-BY-4.0 |
| NVD | CVE-2026-35379 changed 2026-10-26 | Public domain |