medium4.4
CVE-2026-35358
The cp utility in uutils coreutils, when performing recursive copies (-R), incorrectly treats character and block device nodes as stream sources rather than pr…
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | uu_cp | < 0.7.0 | 0.7.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Uutils | Coreutils | before 0.7.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-8vrf-r662-2w2v
- https://github.com/uutils/coreutils/security/advisories/GHSA-8vrf-r662-2w2v
- https://nvd.nist.gov/vuln/detail/CVE-2026-35358
- https://github.com/uutils/coreutils/issues/9746
- https://github.com/uutils/coreutils/pull/11163
- https://github.com/uutils/coreutils/commit/e6a3bb596f149628ba973eec3d099f3bb69f2464
- https://github.com/uutils/coreutils/releases/tag/0.7.0