CVE-2026-35374
published medium CVSS 3.1 · 6.3uutils coreutils split Arbitrary File Truncation via Time-of-Check to Time-of-Use (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
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the split utility of uutils coreutils. The program attempts to prevent data loss by checking for identity between input and output files using their file paths before initiating the split operation. However, the utility subsequently opens the output file with truncation after this path-based validation is complete. A local attacker with write access to the directory can exploit this race window by manipulating mutable path components (e.g., swapping a path with a symbolic link). This can cause split to truncate and write to an unintended target file, potentially including the input file itself or other sensitive files accessible to the process, 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 split Arbitrary File Truncation via Time-of-Check to Time-of-Use (TOCTOU) Race Condition
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 830c850d5269672bc98f7601a8870448dd0a7de3ec2900b233ee371b29b99dd3
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record