CVE Catalog

CVE-2026-35342

LowCVSS 3.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

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 empty, the uutils implementation treats the empty string as a valid path, creating temporary files in the current working directory instead of the intended secure temporary directory. If the CWD is more permissive or accessible to other users than /tmp, this may lead to unintended information disclosure or unauthorized access to temporary data.

Risk Assessment

Temporary files may be created in a directory accessible to other users, potentially resulting in disclosure of sensitive data or unauthorized access.

Recommendation

Update uutils coreutils to a version containing the fix. Ensure TMPDIR is not set to an empty string in scripts and production environments.

Other vulnerabilities in uutils coreutils

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS