GHSA-7259-cwhx-3xx3
Duplicate Advisory: uutils coreutils has an Improper Check for Unusual or Exceptional Conditions
Impact
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-p7h3-7q52-72w8. This link is maintained to preserve external references. ### Original Description 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.
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | coreutils | < 0.6.0 | 0.6.0 |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-7259-cwhx-3xx3
- https://nvd.nist.gov/vuln/detail/CVE-2026-35366
- https://github.com/uutils/coreutils/issues/9701
- https://github.com/uutils/coreutils/pull/9728
- https://github.com/uutils/coreutils/releases/tag/0.6.0
- https://github.com/uutils/coreutils/commit/0bfbbc00c7895c0fb6ea94987b4aab99e3d7ee52