low

CVE-2026-35346

crates.io · uu_comm • crates.io · coreutils

Summary

comm: lossy UTF-8 conversion silently corrupts non-UTF-8 output

Severity
low
CVSS
3.3
EPSS
0.2% (p7)
CWE
CWE-116, CWE-176
Also known as
GHSA-6gcw-w7cp-94g9, GHSA-hwhf-8p2f-45wr
Published
2026-07-06
Updated
2026-07-06

Advisory details

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.


Zellic finding 3.34. Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.