Security mailing lists by PureSourceCode

CVE-2026-35358

MEDIUM 5.5CVSS 3.1

cp: -R reads device nodes as streams, destroying device semantics

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.

Published
22 Apr 2026
Last modified
26 Oct 2026
Assigned by
security@ubuntu.com
NVD status
Analyzed
Weakness
CWE-400CWE-706
Also known as
GHSA-8vrf-r662-2w2v
Sources
NVDJSONOSV GHSA-8vrf-r662-2w2vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD security@ubuntu.com (Secondary) CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD uutils coreutils
cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
< 0.7.0 0.7.0
OSV crates.io uu_cp < 0.7.0 0.7.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.