CVE-2026-35360
published medium CVSS 3.1 · 6.3uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Uutils | — | coreutilsPlatforms: Linux, Unix, macOS | Affected | Not stated | canonical |
| Ubuntu | resolute | rust-coreutils | Advisory build | 0.10.0-1ubuntu2~26.04.1 | USN-9041-1 |
Description
The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internally uses O_TRUNC. An attacker can exploit this window to create a file or swap a symlink at the target path, causing touch to truncate an existing file and leading to permanent data loss.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Uutils | coreutils | Default: affected | canonical · cna |
Weaknesses
1- CWE-367 CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition
References
1Provider assertions
2canonical · cna
uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 770592ee1a2758d61a9edca84eb3e09bbd3d4c32e10af4d20867aabbb213d6c9
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record