Bug 2460807 (CVE-2026-35360) - CVE-2026-35360 rust-coreutils: touch: arbitrary file truncation via TOCTOU race condition
Summary: CVE-2026-35360 rust-coreutils: touch: arbitrary file truncation via TOCTOU ra...
Keywords:
Status: NEW
Alias: CVE-2026-35360
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2461186 2461187
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-22 17:03 UTC by OSIDB Bzimport
Modified: 2026-04-24 19:03 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-22 17:03:49 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.