CVE-2026-35366
MEDIUM 4.4CVSS 3.1printenv: environment variables with invalid UTF-8 are silently skipped (evades inspection)
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.
- Published
- 22 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-116CWE-754
- Also known as
- GHSA-p7h3-7q52-72w8
- Sources
- NVDJSONOSV GHSA-p7h3-7q52-72w8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | uutils | coreutilscpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:* |
< 0.6.0 | 0.6.0 |
| OSV | crates.io | uu_printenv | < 0.6.0 | 0.6.0 |
References
- https://github.com/uutils/coreutils/issues/9701 · Exploit, Issue Tracking, WEB
- https://github.com/uutils/coreutils/pull/9728 · Issue Tracking, Patch, WEB
- https://github.com/uutils/coreutils/releases/tag/0.6.0 · Release Notes, WEB
- https://github.com/uutils/coreutils/security/advisories/GHSA-p7h3-7q52-72w8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-35366 · ADVISORY
- https://github.com/uutils/coreutils/commit/0bfbbc00c7895c0fb6ea94987b4aab99e3d7ee52 · WEB
- https://github.com/uutils/coreutils · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2026)