nday
CVE-2026-35374 GHSA-fjjq-8hw5-cf9f

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

Uutils / coreutils

Preuve de concept publique parue 213 jours après la divulgation. Version corrigée : uu_split 0.10.0. Cette vulnérabilité figure dans une seule des 4 sources de PoC : github. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-367, stated by the CNA canonical, NVD, republishing [email protected] et GitHub advisory GHSA-fjjq-8hw5-cf9f
link following
CWE-59, stated by GitHub advisory GHSA-fjjq-8hw5-cf9f
local
AV:L in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H (CVSS 3.1) from the CNA canonical
no user interaction
UI:N in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H (CVSS 3.1) from the CNA canonical
crates.io
GHSA-fjjq-8hw5-cf9f: rust packages uu_split
étape actuelle
POC
divulgation
délai avant PoC
T+213d POC : date seule
CVSS
6.3 MEDIUM v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
04-22T16:09Z
PATcorrectif
11-20T17:02Z
ANAanalyse
aucune donnée
POCPoC
11-21, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA canonical.

Journal des événements

+DISdivulgation

Fiche CVE publiée par canonical. CVSS 6.3, gravité moyenne.

source cvelist · importé en masse par nday le · brut
{
  "id": 420219,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-35374",
  "occurred_at": "2026-04-22T16:09:04.206Z",
  "observed_at": "2026-11-13T05:39:44.380581Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H",
      "version": "3.1",
      "base_score": 6.3,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-04-22T17:18:10.132115Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-04-22T16:09:04.206Z",
    "assigner_short_name": "canonical"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée uu_split 0.10.0. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-fjjq-8hw5-cf9f · observé en direct par nday le · brut
{
  "id": 497574,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-fjjq-8hw5-cf9f",
  "occurred_at": null,
  "observed_at": "2026-11-20T17:02:24.02739Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-fjjq-8hw5-cf9f",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 6.3,
        "vector_string": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Link Resolution Before File Access",
        "cwe_id": "CWE-59"
      },
      {
        "name": "Time-of-check Time-of-use (TOCTOU) Race Condition",
        "cwe_id": "CWE-367"
      }
    ],
    "ghsa_id": "GHSA-fjjq-8hw5-cf9f",
    "packages": [
      {
        "name": "uu_split",
        "ecosystem": "rust",
        "first_patched_version": "0.10.0",
        "vulnerable_version_range": "<= 0.9.0"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/uutils/coreutils/security/advisories/GHSA-fjjq-8hw5-cf9f",
      "https://github.com/uutils/coreutils/pull/11401",
      "https://github.com/uutils/coreutils/pull/12565",
      "https://github.com/uutils/coreutils/commit/58040feb5c66fce588a7ffac299b3a23bd55cd81",
      "https://github.com/advisories/GHSA-fjjq-8hw5-cf9f"
    ],
    "fix_commit_urls": [
      "https://github.com/uutils/coreutils/pull/11401",
      "https://github.com/uutils/coreutils/pull/12565",
      "https://github.com/uutils/coreutils/commit/58040feb5c66fce588a7ffac299b3a23bd55cd81"
    ],
    "github_reviewed_at": "2026-11-20T16:33:27Z",
    "advisory_updated_at": "2026-11-20T16:33:27Z",
    "source_code_location": "https://github.com/uutils/coreutils",
    "advisory_published_at": "2026-11-20T16:33:27Z"
  }
}
2026-11-21date seule, selon la source
+POCPoC publique

Dépôt de PoC sur GitHub : googlesky/CVE-2026-35374. La date est celle de la création du dépôt.

source github 1466177119 · observé en direct par nday le · brut
{
  "id": 498570,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-35374",
  "occurred_at": "2026-11-21T04:31:10Z",
  "observed_at": "2026-11-21T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1466177119",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-35374",
    "title": "googlesky/CVE-2026-35374",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.