CVE-2026-35374 uutils coreutils split Arbitrary File Truncation via Time-of-Check to Time-of-Use (TOCTOU) Race Condition
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 4 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rust-coreutils(Debian 12) | = 0.0.17-2; = 0.0.17-3; = 0.0.17-4; = 0.0.17-5 +41 more | No fix listed | No fix yet |
| debian/rust-coreutils(Debian 13) | = 0.0.30-2; = 0.0.30-3; = 0.0.30-3~exp1; = 0.0.30-4 +16 more | No fix listed | No fix yet |
| ubuntu/rust-coreutils(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| Uutils coreutils | All versions | No fix listed | No fix yet |
| crates.io coreutils(crates.io) | <= 0.8.0 | after 0.8.0 | Fixed |
| debian/rust-coreutils(Debian 14) | < 0.10.0-1; = 0.0.30-2; = 0.0.30-3; = 0.0.30-3~exp1 +12 more | 0.10.0-1 | Fixed |
| ubuntu/rust-coreutils(Ubuntu 26.04) | < 0.10.0-1ubuntu2~26.04.1 | 0.10.0-1ubuntu2~26.04.1 | Fixed |
| ubuntu/rust-coreutils(Ubuntu 26.10) | < 0.10.0-1ubuntu1 | 0.10.0-1ubuntu1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io coreutils(crates.io) | <= 0.8.0 | No fix listed |
| Uutils coreutils | All versions | No fix listed |
| debian/rust-coreutils(Debian:12) | All versions | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-4 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-5 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.17-6 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.19-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.19-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.19-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.20-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.21-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.22-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.23-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.23-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.23-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.24-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.24-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-4 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.26-5 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.27-1 | No fix listed |
Show 61 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rust-coreutils(Debian:12) | = 0.0.27-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.27-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-3~exp1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.0.30-4 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.10.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.11.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.11.0-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.12.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.6.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.7.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-3 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-4 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-5 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.8.0-6 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.9.0-1 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.9.0-2 | No fix listed |
| debian/rust-coreutils(Debian:12) | = 0.9.0-3 | No fix listed |
| debian/rust-coreutils(Debian:13) | All versions | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.0.30-2 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.0.30-3 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.0.30-3~exp1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.0.30-4 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.10.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.11.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.11.0-2 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.12.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.6.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.7.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-2 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-3 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-4 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-5 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.8.0-6 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.9.0-1 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.9.0-2 | No fix listed |
| debian/rust-coreutils(Debian:13) | = 0.9.0-3 | No fix listed |
| debian/rust-coreutils(Debian:14) | < 0.10.0-1 | 0.10.0-1 |
| debian/rust-coreutils(Debian:14) | = 0.0.30-2 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.0.30-3 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.0.30-3~exp1 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.0.30-4 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.6.0-1 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.7.0-1 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.8.0-1 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.8.0-2 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.8.0-3 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.8.0-4 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.8.0-5 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.8.0-6 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.9.0-1 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.9.0-2 | No fix listed |
| debian/rust-coreutils(Debian:14) | = 0.9.0-3 | No fix listed |
| ubuntu/rust-coreutils(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rust-coreutils(Ubuntu:26.04) | < 0.10.0-1ubuntu2~26.04.1 | 0.10.0-1ubuntu2~26.04.1 |
| ubuntu/rust-coreutils(Ubuntu:26.10) | < 0.10.0-1ubuntu1 | 0.10.0-1ubuntu1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch
- github.com product
- USN-9041-1: uutils coreutils vulnerabilities vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-35374 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking