Description
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 products
uutils: coreutils
References4
- github.com/uutils/coreutils/pull/11163 Issue TrackingPatch
- github.com/uutils/coreutils/issues/9746 ExploitIssue Tracking
- github.com/uutils/coreutils/issues/9746 ExploitIssue Tracking
- github.com/uutils/coreutils/releases/tag/0.7.0 Release Notes
Metrics
- CVSS 3.1
-
5.5
MEDIUM
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 7 · as of 13 November 2026
- CWE
- CWE-706
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.