uutils coreutils printenv Security Inspection Bypass via UTF-8 Enforcement
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Uutils | coreutils | before 0.6.0 | 0.6.0 | Patch available | CNA |
| — | uu_printenv (crates.io) | before 0.6.0 | 0.6.0 | Patch available | GHSA-p7h3-7q52-72w8 |
- coreutils VendorUutils Affected before 0.6.0 Fixed in 0.6.0 Patch available CNA
- uu_printenv (crates.io) Vendor— Affected before 0.6.0 Fixed in 0.6.0 Patch available GHSA-p7h3-7q52-72w8
Remediation
- Fix · CNA coreutils (Uutils) Fixed in 0.6.0
- Fix · GHSA-p7h3-7q52-72w8 uu_printenv (crates.io) Fixed in 0.6.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Uutils coreutils — github.com/uutils/coreutils/releases/tag/0.6.0
12 records Highest priority Priority MEDIUM 3 MEDIUM, 9 LOW
Other records, highest priority first
- TI-2026-27493 uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU RacePriority MEDIUM 61
- TI-2026-27484 uutils coreutils comm Silent Data Corruption via Lossy UTF-8 NormalizationPriority MEDIUM 49
- TI-2026-27476 uutils coreutils chmod Path Traversal Bypass of --preserve-rootPriority LOW 33
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35366
- 2026-10-03 Alias added: GHSA-p7h3-7q52-72w8
References
Advisory 2
More Uutils Coreutils vulnerabilities
- TI-2026-27506 uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection CVSS 3.1HIGH 7.2
- TI-2026-27498 uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
- TI-2026-27488 uutils coreutils cp Unexpected Privileged Executable Creation with -p CVSS 3.1MEDIUM 6.6
- TI-2026-27502 uutils coreutils mv Arbitrary File Overwrite via Cross-Device TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
- TI-2026-27493 uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race CVSS 3.1MEDIUM 6.3
- TI-2026-27511 uutils coreutils ln Local Denial of Service via Improper Handling of Non-UTF-8 Filenames CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-35366 · CVE Program
- CVE-2026-35366 · NVD
- FIRST EPSS
- GHSA-p7h3-7q52-72w8 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-35366 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences