GHSA-p7h3-7q52-72w8

Suggest an improvement
Source
https://github.com/advisories/GHSA-p7h3-7q52-72w8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-p7h3-7q52-72w8/GHSA-p7h3-7q52-72w8.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-p7h3-7q52-72w8
Aliases
Published
2026-07-06T20:25:42Z
Modified
2026-07-06T20:31:02.307027884Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
printenv: environment variables with invalid UTF-8 are silently skipped (evades inspection)
Details

The printenv utility in uutils coreutils fails to display environment variables containing invalid UTF-8 byte sequences. While POSIX permits arbitrary bytes in environment strings, the uutils implementation silently skips these entries rather than printing the raw bytes. This vulnerability allows malicious environment variables (e.g., adversarial LD_PRELOAD values) to evade inspection by administrators or security auditing tools, potentially allowing library injection or other environment-based attacks to go undetected.


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

Database specific
{
    "severity": "MODERATE",
    "github_reviewed_at": "2026-07-06T20:25:42Z",
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-116",
        "CWE-754"
    ],
    "github_reviewed": true
}
References

Affected packages

crates.io / uu_printenv

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/07/GHSA-p7h3-7q52-72w8/GHSA-p7h3-7q52-72w8.json"