CVE-2026-35342 uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable. Unlike GNU mktemp, which falls back to /tmp when TMPDIR is an empty string, the uutils implementation treats the empty string as a valid path. This causes temporary files to be created in the current working directory (CWD) instead of the intended secure temporary directory. If the CWD is more permissive or accessible to other users than /tmp, it may lead to unintended information disclosure or unauthorized access to temporary data.
Upgrade path
6 packages: 3 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rust-coreutils(Debian 12) | = 0.0.17-2; = 0.0.17-3; = 0.0.17-4; = 0.0.17-5 +41 more | No fix listed | No fix yet |
| debian/rust-coreutils(Debian 13) | = 0.0.30-2; = 0.0.30-3; = 0.0.30-3~exp1; = 0.0.30-4 +16 more | No fix listed | No fix yet |
| ubuntu/rust-coreutils(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| crates.io uu_mktemp(crates.io) | < 0.6.0 | 0.6.0 | Fixed |
| debian/rust-coreutils(Debian 14) | < 0.6.0-1; = 0.0.30-2; = 0.0.30-3; = 0.0.30-3~exp1 +1 more | 0.6.0-1 | Fixed |
| Uutils coreutils | < 0.6.0 | 0.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io uu_mktemp(crates.io) | < 0.6.0 | 0.6.0 |
| Uutils coreutils | < 0.6.0 | 0.6.0 |
| debian/rust-coreutils(Debian:12) | All versions | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-4 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-5 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-6 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.19-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.19-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.19-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.20-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.21-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.22-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.23-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.23-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.23-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.24-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.24-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-4 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-5 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.27-1 | No fix listed |
Show 48 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rust-coreutils(Debian:12) | = 0.0.27-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.27-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-3~exp1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-4 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.10.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.11.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.11.0-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.12.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.6.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.7.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-4 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-5 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-6 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.9.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.9.0-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.9.0-3 | No fix listed |
| debian/rust-coreutils(Debian:13) | All versions | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.0.30-2 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.0.30-3 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.0.30-3~exp1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.0.30-4 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.10.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.11.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.11.0-2 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.12.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.6.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.7.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-2 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-3 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-4 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-5 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-6 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.9.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.9.0-2 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.9.0-3 | No fix listed |
| debian/rust-coreutils(Debian:14) | < 0.6.0-1 | 0.6.0-1 |
| debian/rust-coreutils(Debian:14) | = 0.0.30-2 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.0.30-3 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.0.30-3~exp1 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.0.30-4 | No fix listed |
| ubuntu/rust-coreutils(Ubuntu:24.04) | All versions | No fix listed |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch
- github.com patch
- github.com product
- github.com release-notes vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-35342 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org