Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. uu_split
  4. ›
  5. CVE-2026-35374

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

November 20, 2026

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.

References

  • github.com/advisories/GHSA-fjjq-8hw5-cf9f
  • github.com/uutils/coreutils/commit/58040feb5c66fce588a7ffac299b3a23bd55cd81
  • github.com/uutils/coreutils/pull/11401
  • github.com/uutils/coreutils/pull/12565
  • github.com/uutils/coreutils/security/advisories/GHSA-fjjq-8hw5-cf9f
  • nvd.nist.gov/vuln/detail/CVE-2026-35374

Code Behaviors & Features

Detect and mitigate CVE-2026-35374 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.10.0

Fixed versions

  • 0.10.0

Solution

Upgrade to version 0.10.0 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

cargo/uu_split/CVE-2026-35374.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 21 Nov 2026 00:15:11 +0000.