Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-35374 EUVD-2026-25024GHSA-4wrp-79m8-9m9p

uutils coreutils split Arbitrary File Truncation via Time-of-Check to Time-of-Use (TOCTOU) Race Condition

Published Apr 22, 2026 · Updated Apr 22, 2026 · 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.

Affected products

VendorProductAffectedFixed
Uutils coreutils — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-coreutils 0.10.0-1 —
Debian 13 rust-coreutils No fix yet —
Debian 12 rust-coreutils No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-coreutils 0.10.0-1ubuntu1 —
Ubuntu 26.04 LTS rust-coreutils 0.10.0-1ubuntu2~26.04.1 USN-9041-1
Ubuntu 25.10 rust-coreutils No fix yet —
Ubuntu 24.04 LTS rust-coreutils No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling uutils 0.8.0-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io coreutils <= 0.8.0 — GHSA-4wrp-79m8-9m9p

Advisories 1

References