Home / Uutils / coreutils / CVE-2026-35342
CVE-2026-35342: is it exploited, and which versions of Uutils coreutils are affected and fixed?
CVE-2026-35342 is an insecure temporary file vulnerability in Uutils coreutils. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: uu_mktemp before 0.6.0 (GitHub advisory GHSA-2w8r-9xj7-69j5). Fixed in 0.6.0 (GitHub advisory GHSA-2w8r-9xj7-69j5). Severity: Low (3.3, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-35342?
uutils coreutils mktemp Insecure Temporary File Placement via Empty TMPDIR
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.
From the CVE record by canonical, last updated April 22, 2026, 18:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Uutils | coreutils Linux, Unix, macOS | before 0.6.0 | 0.6.0 |
As the CVE record by canonical states it, last updated April 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | uu_mktemp | < 0.6.0 | 0.6.0 | GHSA-2w8r-9xj7-69j5 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 6, 2026. Summary: mktemp: empty TMPDIR creates temp files in CWD instead of /tmp.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| uutils | coreutils | before 0.6.0 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 22:10 UTC.
How severe is CVE-2026-35342?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | canonical |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-35342 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 22, 2026)
- EPSS
- 0.14% probability of exploitation activity in the next 30 days, percentile 3.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-377 insecure temporary file
Where are the vendor advisories and references?
- https://github.com/uutils/coreutils/pull/10566 patch, issue-tracking
- https://github.com/uutils/coreutils/releases/tag/0.6.0 vendor-advisory
Who found and reported it?
- Zellic (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 2, 2026
- Published
- April 22, 2026, 16:07 UTC
- CVE record updated
- April 22, 2026, 18:15 UTC by canonical
- NVD
- Analyzed, last modified October 26, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect coreutils?
- Sep 18, 2026CVE-2026-93658 uutils coreutils: permissions not preserved
- Apr 22, 2026CVE-2026-35381 Uutils coreutils: incorrect Provision of Specified Functionality
- Apr 22, 2026CVE-2026-35380 Uutils coreutils: improper input validation
- Apr 22, 2026CVE-2026-35379 Uutils coreutils: incorrect Provision of Specified Functionality
- Apr 22, 2026CVE-2026-35378 Uutils coreutils: incorrect Short Circuit Evaluation
- Apr 22, 2026CVE-2026-35377 Uutils coreutils: improper input validation
- Apr 22, 2026CVE-2026-35376 Uutils coreutils: time-of-check time-of-use race condition
- Apr 22, 2026CVE-2026-35375 Uutils coreutils: improper Handling of Unicode Encoding
Questions about CVE-2026-35342
Is CVE-2026-35342 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.14% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Uutils coreutils are affected by CVE-2026-35342?
uu_mktemp before 0.6.0, per the GitHub advisory GHSA-2w8r-9xj7-69j5. The tables above give every range the sources list.
Which version fixes CVE-2026-35342?
0.6.0, per the GitHub advisory GHSA-2w8r-9xj7-69j5. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-35342?
Low (3.3, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2026-35342?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.