{"id":"CVE-2026-35342","revision":"df94df25084741bc9edbf8d0f978fb54","records":[{"revision":"df94df25084741bc9edbf8d0f978fb54","observedAt":"2026-10-27T09:03:12.132+00:00","statement":{"source":"nvd","id":"CVE-2026-35342","aliases":[],"title":"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 p…","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.","state":0,"publishedAt":"2026-04-22T17:16:36.217+00:00","modifiedAt":"2026-10-26T22:10:00.163+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security@ubuntu.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.3,"severity":"LOW"}],"references":["https://github.com/uutils/coreutils/pull/10566","https://github.com/uutils/coreutils/releases/tag/0.6.0"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-35342","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-377"],"productCriteria":["cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*"],"sourceDates":{"published":"2026-04-22T17:16:36.217","lastModified":"2026-10-26T22:10:00.163"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-35342","identifiers":["CVE-2026-35342"]},"retained":false,"historicalAffected":[]}],"coverage":[]}