CVE-2026-35358: Uu cp -R Reads Device Nodes As Vulnerability
MODERATECVE-2026-35358 is a MODERATE (CVSS 4.4) -r reads device nodes as vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Uu cp libraries in the crates.io ecosystem. The issue involves -r reads device nodes as streams, destroying device semantics. Remediation is available by upgrading affected packages to version 0.7.0.
CVE-2026-35358 at a Glance
Security Impact
CVSS: 4.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L).
How to Fix CVE-2026-35358
To remediate this vulnerability, upgrade all affected Uu cp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade uu_cp to 0.7.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for uu_cp
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-35358, inspect your project dependencies for Uu cp:
inspect dependencies for uu_cp
Analyze the terminal output to locate any version of Uu cp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Uu cp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-35358 Affected Uu cp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
uu_cp
|
crates.io |
< 0.7.0
|
0.7.0
|
References
Frequently Asked Questions
What is CVE-2026-35358?
Which Uu cp versions are affected?
What version fixes CVE-2026-35358?
Is uu_cp affected?
What is the CVSS score of CVE-2026-35358?
What CWE is associated with CVE-2026-35358?
How can I check crates.io dependencies for CVE-2026-35358?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8vrf-r662-2w2v",
"modified" : "2026-07-06T20:21:19Z",
"published" : "2026-07-06T20:21:18Z",
"aliases" : [ "CVE-2026-35358" ],
"summary" : "cp: -R reads device nodes as streams, destroying device semantics",
"details" : "The cp utility in uutils coreutils, when performing recursive copies (-R), incorrectly treats character and block device nodes as stream sources rather than preserving them. Because the implementation reads bytes into regular files at the destination instead of using mknod, device semantics are destroyed (e.g., /dev/null becomes a regular file). This behavior can lead to runtime denial of service through disk exhaustion or process hangs when reading from unbounded device nodes.\n\n---\n_Zellic finding 3.53. Reported in the Zellic *uutils coreutils Program Security Assessment* (for Canonical, Jan 2026), audited commit `3a07ffc5a9bd4c283e75afa548ba1f1957bad242`._",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "uu_cp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/uutils/coreutils/security/advisories/GHSA-8vrf-r662-2w2v"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-35358"
}, {
"type" : "WEB",
"url" : "https://github.com/uutils/coreutils/issues/9746"
}, {
"type" : "WEB",
"url" : "https://github.com/uutils/coreutils/pull/11163"
}, {
"type" : "WEB",
"url" : "https://github.com/uutils/coreutils/commit/e6a3bb596f149628ba973eec3d099f3bb69f2464"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/uutils/coreutils"
}, {
"type" : "WEB",
"url" : "https://github.com/uutils/coreutils/releases/tag/0.7.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-706" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-06T20:21:18Z",
"nvd_published_at" : null
}
}