ADVISORIES

Vulnerability

CVE-2026-35342

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.

3 advisories report this vulnerability, across 3 ecosystems.

Low severity All Debian 1Ubuntu 1crates.io 1

Advisories

  • DEBIAN-CVE-2026-35342

    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…

    CVE-2026-35342 Debian Updated 27 October 2026
  • GHSA-2w8r-9xj7-69j5

    mktemp: empty TMPDIR creates temp files in CWD instead of /tmp

    Low CVE-2026-35342 crates.io Updated 6 July 2026
  • UBUNTU-CVE-2026-35342

    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…

    CVE-2026-35342 Ubuntu Updated 14 May 2026

References