TOCTOU Race Condition in uutils Coreutils Touch Utility
CVE-2026-35360

6.3MEDIUM

Key Information:

Vendor

Uutils

Status
Vendor
CVE Published:
22 April 2026

What is CVE-2026-35360?

The touch utility in uutils coreutils is susceptible to a Time-of-Check to Time-of-Use (TOCTOU) race condition during the file creation process. When the utility detects a missing path, it subsequently attempts to create the file via File::create(), which uses O_TRUNC internally. This introduces a vulnerable time window where an attacker can exploit the condition by creating a file or swapping a symlink at the target path. This can lead to the unintended truncation of an existing file, resulting in permanent data loss.

References

CVSS V3.1

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Zellic
.