---
title: "CVE-2026-35342\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-35342?format=md
keywords: index, follow
---

# CVE-2026-35342

Publication date 22 April 2026

Last updated 13 May 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**3.3 · Low**

[Score breakdown](https://ubuntu.com/security/CVE-2026-35342?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| rust-coreutils | 26.04 LTS resolute | Not affected |
| 25.10 questing | Ignored end of life, was needed |
| 24.04 LTS noble | Vulnerable |
| 22.04 LTS jammy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

3.3 · Low

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 3.3 · Low |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-35342)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-35342)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-35342)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-35342)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-35342>
* <https://github.com/uutils/coreutils/pull/10566>
