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
https://github.com/uutils/coreutils/issues/10192
https://github.com/uutils/coreutils/pull/10206
https://github.com/uutils/coreutils/issues/10192
CVSS impact metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
3.3 · Low
Information
Source identifier
Vulnerability status
Analyzed
Published
2026-04-22T17:16:36.760Z
5 months agoLast modified
2026-06-17T10:40:26.057Z
3 months ago