GitHub Advisoryadvisory · crates.io

GHSA-fhr3-xh3q-69w6 uutils coreutils has an Incorrect Provision of Specified Functionality Issue

LOW Published 2026-04-22 Modified 2026-04-30 Official page ↗
Aliases
CVE-2026-35379
Ecosystem
crates.io
Packages
coreutils
Severity
Low
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-684
Reviewed
2026-04-30

Affected packages

• crates.io coreutils: < 0.8.0 → fixed in 0.8.0

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.

Related

Alias · CVE (1)

  • CVE-2026-35379 A logic error in the tr utility of uutils coreutils causes the program to incorrectly define the [:graph:] and [:print:] character classes. vulnerability

Weakness · CWE (1)

  • CWE-684 Incorrect Provision of Specified Functionality weakness

References