CVE-2026-35346

uutils coreutils comm Silent Data Corruption via Lossy UTF-8 Normalization

State
Published
Severity
3.3 Low
Published
Apr 22, 2026
Updated
Apr 22, 2026
Reserved
Apr 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:Ncanonical

Weaknesses

  • CWE-176 Improper Handling of Unicode Encoding

Affected Products

ProductVersions
coreutilsUutils
  • before 0.6.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.