CVE-2026-35358: uutils coreutils cp Semantic Loss and Potential Denial of Service with -R via Device Node Stream Reading
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/uu_cpto a version that resolves this vulnerability.Fixed in 0.7.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-35358?
CVE-2026-35358 is classified as a medium severity vulnerability due to semantic loss and potential denial of service in recursive copy operations.
How do I fix CVE-2026-35358?
To mitigate CVE-2026-35358, you should update to the latest version of uutils coreutils where the vulnerability has been addressed.
What systems are affected by CVE-2026-35358?
CVE-2026-35358 affects the uutils coreutils package, particularly during the use of the 'cp' command with the '-R' option.
What is the cause of CVE-2026-35358?
CVE-2026-35358 is caused by the mishandling of character and block device nodes during recursive copy operations, leading to semantic errors.
Can CVE-2026-35358 lead to data loss?
Yes, CVE-2026-35358 can lead to data loss as it incorrectly processes device files, which may result in a loss of data integrity during copy operations.