crates.io
CVE-2026-35374
split: TOCTOU output-open allows truncating a swapped file
- Severity
- Medium 6.3
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.10.0
- Exploit chance
- under 0.1% in the next 30 daysEPSS by FIRST, 24 Nov 2026
- Attack
- Needs local access · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Change data · Take it down
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H- Also known as
- GHSA-fjjq-8hw5-cf9f
- Sources
- OSV.dev and GitHub
Description
split checks input/output identity by path before opening the output, then opens with truncation, leaving a race window on mutable path components. GNU opens first and compares the opened output inode against the input before truncating. The race can cause split to truncate/write a file different from the one validated — including the input file or another file the process can access.
Fixed in 0.10.0 (PR #12565, commit 58040feb5c66fce588a7ffac299b3a23bd55cd81): the output open path is hardened against TOCTOU target swaps.
_Zellic private finding (zellic-ext/coreutils-private PR #119). Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242._
Affected software
| Software | Affected versions |
|---|---|
uu_splitcrates.io · osv:crates.io:uu_split |
|
About uu_split
- Downloads in the last 90 days (crates.io)
- 50,893crates.io, 24 Nov 2026
- Total downloads (crates.io)
- 134,979crates.io, 24 Nov 2026
This is the only vulnerability in uu_split in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-35374
- GitHub Advisory Database https://github.com/advisories/GHSA-fjjq-8hw5-cf9f