CVE-2026-35358 PUBLISHED

uutils coreutils cp Semantic Loss and Potential Denial of Service with -R via Device Node Stream Reading

Assigner: canonical
Reserved: 02.04.2026 Published: 22.04.2026 Updated: 22.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
CVSS Score: 4.4

Product Status

Vendor Uutils
Product coreutils
Versions Default: unaffected
  • affected from 0 to 0.7.0 (excl.)

Credits

  • Zellic finder

References

Problem Types

  • CWE-706: Use of Incorrectly-Resolved Name or Reference CWE

Impacts

  • CAPEC-130: Excessive Allocation