GHSA-hwhf-8p2f-45wr

Suggest an improvement
Source
https://github.com/advisories/GHSA-hwhf-8p2f-45wr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-hwhf-8p2f-45wr/GHSA-hwhf-8p2f-45wr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hwhf-8p2f-45wr
Aliases
  • CVE-2026-35346
Published
2026-04-22T18:31:45Z
Modified
2026-05-05T16:08:34.531983Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
coreutils' comm utility silently corrupts data by performing lossy UTF-8 conversion on all output lines
Details

The comm utility in uutils coreutils silently corrupts data by performing lossy UTF-8 conversion on all output lines. The implementation uses String::fromutf8lossy(), 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.

Database specific
{
    "cwe_ids": [
        "CWE-176"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-29T22:57:41Z",
    "nvd_published_at": "2026-04-22T17:16:36Z",
    "severity": "LOW"
}
References

Affected packages

crates.io / coreutils

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-hwhf-8p2f-45wr/GHSA-hwhf-8p2f-45wr.json"