GHSA-fjjq-8hw5-cf9f

Suggest an improvement
Source
https://github.com/advisories/GHSA-fjjq-8hw5-cf9f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-fjjq-8hw5-cf9f/GHSA-fjjq-8hw5-cf9f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fjjq-8hw5-cf9f
Aliases
  • CVE-2026-35374
Published
2026-11-20T16:33:27Z
Modified
2026-11-20T16:45:08Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
split: TOCTOU output-open allows truncating a swapped file
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-367",
        "CWE-59"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-11-20T16:33:27Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

crates.io / uu_split

Package

Name
uu_split
View open source insights on deps.dev
Purl
pkg:cargo/uu_split

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.10.0

Database specific

last_known_affected_version_range
"<= 0.9.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-fjjq-8hw5-cf9f/GHSA-fjjq-8hw5-cf9f.json"