CVE-2026-35374: uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

CVE-2026-35374 · Severity: medium · CVSS 6.3 · Published 2026-04-22

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.

Technologies: coreutils (crates.io), Uutils Coreutils. Vendors: crates.io, Uutils.

Quick answers

Is CVE-2026-35374 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-35374 being exploited in the wild.
How severe is CVE-2026-35374?
Medium severity, with a CVSS score of 6.3, published 22 April 2026.
Which products and versions are affected?
coreutils (crates.io) SEMVER:introduced=0,last_affected=0.8.0.
Is there a fix for CVE-2026-35374?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2026-35374?
Check whether you run coreutils (crates.io) or Uutils Coreutils at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • coreutils (crates.io) SEMVER:introduced=0,last_affected=0.8.0
  • Uutils Coreutils

Identifiers

  • CVE-2026-35374
  • GHSA-4wrp-79m8-9m9p

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.