CVE-2026-35342

rust-coreutils: The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR environment variable

CVE-2026-35342 is fixed in rust-coreutils on 1 platform by DEBIAN-CVE-2026-35342 (version 0.6.0-1), released April 22, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
3.3
low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0013
2nd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
rust-coreutils · Debian 14 0.6.0-1 DEBIAN-CVE-2026-35342 Apr 22, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.