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
- Severity: Low (CVSS 3.x base score 3.3)
- EPSS exploit prediction: 0% (3rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-24971
- Weakness: CWE-377
- Affected product: Uutils Coreutils
- Published:
- Last modified:
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
- https://github.com/uutils/coreutils/pull/10566
- https://github.com/uutils/coreutils/releases/tag/0.6.0
Affected products (1)
- cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
More vulnerabilities in Uutils Coreutils
- CVE-2026-35368 — High (CVSS 7.8): A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves…
- CVE-2026-35338 — High (CVSS 7.3): A vulnerability in the chmod utility of uutils coreutils allows users to bypass the --preserve-root safety mechanism.…
- CVE-2026-35341 — High (CVSS 7.1): A vulnerability in uutils coreutils mkfifo allows for the unauthorized modification of permissions on existing files.…
- CVE-2026-35352 — High (CVSS 7.0): A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility…
- CVE-2026-35349 — Medium (CVSS 6.7): A vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection. The…
- CVE-2026-35365 — Medium (CVSS 6.6): The mv utility in uutils coreutils improperly handles directory trees containing symbolic links during moves across…
All CVEs affecting Uutils Coreutils →
Other CWE-377 (Insecure Temporary File) vulnerabilities
- CVE-2011-4119 — Critical (CVSS 9.8): caml-light <= 0.75 uses mktemp() insecurely, and also does unsafe things in /tmp during make install.
- CVE-2012-2666 — Critical (CVSS 9.8): golang/go in 1.0.2 fixes all.bash on shared machines. dotest() in src/pkg/debug/gosym/pclntab_test.go creates a…
- CVE-2015-5224 — Critical (CVSS 9.8): The mkostemp function in login-utils in util-linux when used incorrectly allows remote attackers to cause file name…
- CVE-2025-14307 — High (CVSS 8.1): An insecure temporary file creation vulnerability exists in the AutoExtract component of Robocode version 1.9.3.6. The…
- CVE-2023-43498 — High (CVSS 8.1): In Jenkins 2.423 and earlier, LTS 2.414.1 and earlier, processing file uploads using MultipartFormDataParser creates…
- CVE-2025-46369 — High (CVSS 7.8): Dell Alienware Command Center 6.x (AWCC), versions prior to 6.10.15.0, contains an Insecure Temporary File…
Browse all CWE-377 (Insecure Temporary File) vulnerabilities →