Loading...
Skip to main content

CVE-2026-35374 — Vulnerability in coreutils — CVE Details

MEDIUM

uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

Published April 22, 2026Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published April 22, 2026 (173 days ago).
  • Last revised September 10, 2026 — 140 days after initial publication.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
coreutils
crates.io
All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.3 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2026-35374?
uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.3/10).
How do I check if my project is affected by CVE-2026-35374?
CVE-2026-35374 affects coreutils. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-35374 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.3

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-4wrp-79m8-9m9p

Related CVEs

  • CVE-2026-35352
    HIGH

    uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition

  • CVE-2026-35368
    HIGH

    uutils coreutils has an Untrusted Search Path

  • CVE-2026-102821
    MEDIUM

    Russh: Unbounded memory exhaustion via CHANNEL_OPEN flood during a client-stalled rekey

  • CVE-2026-102820
    MEDIUM

    pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)

  • CVE-2026-35364
    MEDIUM

    uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

  • CVE-2026-35360
    MEDIUM

    uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

  • CVE-2026-35350
    MEDIUM

    uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies