Skip to main content
VulnerabilityPublished Updated

CVE-2026-35342: Rust coreutils · The mktemp utility in uutils coreutils fails to properly handle an empty TMPDIR

Affects rust-coreutilsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-35342· Low 3.3

Not known to be exploited · CVSS 3.3 Low.

Data as of 24 Nov 2026, 20:28 UTC

CVSS 3.1 base score
3.3Low
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 25.10rust-coreutilspkg:deb/ubuntu/rust-coreutils?arch=source&distro=questingOther threatsAffected
  • 0.0.30-1 – 0.2.2-0ubuntu2.1
16 affected builds
Fixed in–
Ubuntu 24.04 LTSrust-coreutilspkg:deb/ubuntu/rust-coreutils?arch=source&distro=nobleOther threatsAffected
  • 0.0.20-1 – 0.0.24-2
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…