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.
0.0.20-10.0.22-10.0.23-10.0.23-20.0.23-30.0.24-10.0.24-20.0.30-10.0.30-20.0.30-2ubuntu20.1.0+git20250711.2ba3a33-0ubuntu10.1.0+git20250711.2ba3a33-0ubuntu20.1.0+git20250711.2ba3a33-0ubuntu30.1.0+git20250711.2ba3a33-0ubuntu40.1.0+git20250801.cf79675-0ubuntu10.1.0+git20250813.4af2a84-0ubuntu20.1.0+git20250813.4af2a84-0ubuntu4+6 more0:0.10.0-1ubuntu2~26.04.10:0.10.0-1ubuntu1Exploitability
AV:LAC:HPR:LUI:NScope
S:UImpact
C:NI:HA:HCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H