GHSA-4wrp-79m8-9m9p: Duplicate Advisory: split: TOCTOU output-open allows truncating a swapped file
This advisory was withdrawn on Nov 20, 2026. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-fjjq-8hw5-cf9f. This link is maintained to preserve external references. Original Description A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the split utility of uutils coreutils.
Published Apr 22, 2026 · Updated Nov 20, 2026
Affected packages
coreutils
- Ecosystem
- Rust (crates.io)
- Affected
- < 0.10.0
- Fixed in
- 0.10.0
- Check
cargo tree -i coreutils
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-fjjq-8hw5-cf9f. This link is maintained to preserve external references.
Original 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.
Credited to zuhairhalawa.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Rust (crates.io) vulnerabilities
All Rust (crates.io) entriesCVE-2026-35344
uutils coreutils has an Unchecked Return Value Issue
low3.3No fixApr 22, 2026CVE-2026-35345
uutils coreutils has a Link Following Issue
medium5.3No fixApr 22, 2026CVE-2026-35348
uutils coreutils has an Uncaught Exception When Encountering Valid but Non-UTF-8 Paths
medium5.5No fixApr 22, 2026CVE-2026-35350
uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails
medium6.6No fixApr 22, 2026CVE-2026-35351
uutils coreutils doesn't preserve file ownership during moves across different filesystem boundaries
medium4.2No fixApr 22, 2026CVE-2026-35352
uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
high7.0No fixApr 22, 2026
