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
Withdrawn
2026-07-06T19:51:03Z
Published
2026-04-22T18:31:45Z
Modified
2026-09-10T03:51:02Z
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
Duplicate Advisory: coreutils' comm utility silently corrupts data by performing lossy UTF-8 conversion on all output lines
Details

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.

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

Name
coreutils
View open source insights on deps.dev
Purl
pkg:cargo/coreutils

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown 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"