CVE-2026-35342

CVE-2026-35342 is a low-severity vulnerability in Uutils Coreutils with a CVSS 3.x base score of 3.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-377.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2026-35342?
CVE-2026-35342 has a CVSS 3.x base score of 3.3, rated low severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
Is CVE-2026-35342 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (3rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-35342?
CVE-2026-35342 affects Uutils Coreutils. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-35342?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2026-35342 have an EU (EUVD) identifier?
Yes. CVE-2026-35342 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-24971.
When was CVE-2026-35342 published?
CVE-2026-35342 was published on 2026-04-22 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Uutils Coreutils

All CVEs affecting Uutils Coreutils →

Other CWE-377 (Insecure Temporary File) vulnerabilities

Browse all CWE-377 (Insecure Temporary File) vulnerabilities →