Duplicate Advisory: coreutils' comm utility silently corrupts data by performing lossy UTF-8 conversion on all output lines
Affects coreutilsSource GCVE Database
CVSS 3.3 Low : upgrade to 0.6.0 when convenient.
Data as of 7 Jul 2026, 12:28 UTC
- Patch
- Available – fixed in 0.6.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NWhat to do
Upgrade coreutils to 0.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iocoreutils | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid using the affected versions of the comm utility on binary or non-UTF-8 encoded files until a fix is confirmed.
Description
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-6gcw-w7cp-94g9. This link is maintained to preserve external references. ### Original Description The comm utility in uutils coreutils silently corrupts data by performing lossy UTF-8 conversion on all output lines. The implementation uses String::from_utf8_lossy(), which replaces invalid UTF-8 byte sequences with the Unicode replacement character (U+FFFD). This behavior differs from GNU comm, which processes raw bytes and preserves the original input. This results in corrupted output when the utility is used to compare binary files or files using non-UTF-8 legacy encodings.
References
- nvd.nist.gov/vuln/detail/CVE-2026-35346 (opens in a new tab)
- github.com/uutils/coreutils/issues/10192 (opens in a new tab)
- github.com/uutils/coreutils/pull/10206 (opens in a new tab)
- github.com/uutils/coreutils/commit/b9372e509ea9b278fe13763237067a261bb8c946 (opens in a new tab)
- github.com/uutils/coreutils (opens in a new tab)
- github.com/uutils/coreutils/releases/tag/0.6.0 (opens in a new tab)