# CVE-2026-35374: uutils coreutils split Arbitrary File Truncation via Time-of-Check to Time-of-Use (TOCTOU) Race Condition

- Severity: Medium 6.3 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-04-22T16:09:04.206Z
- Modified: 2026-11-20T16:45:08.002Z
- Also known as: GHSA-fjjq-8hw5-cf9f
- Weaknesses: CWE-59, CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

## 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.

(As written by CVE List.)

## Affected

- coreutils: no versions given
- uu_split (crates.io): before 0.10.0
- uutils coreutils: no versions given

## Every score

- canonical: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/uutils/coreutils/pull/11401> (issue-tracking, patch, web)
- <https://github.com/uutils/coreutils/security/advisories/GHSA-fjjq-8hw5-cf9f> (web)
- <https://github.com/uutils/coreutils/pull/12565> (web)
- <https://github.com/uutils/coreutils/commit/58040feb5c66fce588a7ffac299b3a23bd55cd81> (web)
- <https://github.com/uutils/coreutils> (package)

## Sources

- CVE List: [CVE-2026-35374](https://www.cve.org/CVERecord?id=CVE-2026-35374), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-fjjq-8hw5-cf9f](https://github.com/advisories/GHSA-fjjq-8hw5-cf9f), CC-BY-4.0, modified 2026-11-20
- NVD: [CVE-2026-35374](https://nvd.nist.gov/vuln/detail/CVE-2026-35374), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-35374 · Whole record: https://cve.day/CVE-2026-35374.json · Rebuilt by cve.day 2026-11-25T22:59:19.337Z
