Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3GHSA-fjjq-8hw5-cf9fCVE-2026-35374

CVE-2026-35374: split: TOCTOU output-open allows truncating a swapped file

uu_split

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-35374: medium-severity vulnerability (CVSS 6.3) in uu_split.

What happened

Original description from the source: `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`._

Why it matters

Medium severity, CVSS 6.3.

Affected products and versions

uu_split <= 0.9.0 (fixed in 0.10.0)

ProductVersionsFixed in
uu_split<= 0.9.00.10.0

Action recommended by the source

Upgrade to a fixed version: 0.10.0.

Fixed in: 0.10.0

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-59, CWE-367

Relevant change history

  1. Published

    Preliminary advisory published.