
CVE catalog
CVE-2026-35350
The cp utility in uutils coreutils fails to properly handle setuid and setgid bits when ownership preservation fails. When copying with the -p (preserve) flag, the utility applies the source mode bits
- Severity
- Medium · CVSS 6.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.13% · Oct 25, 2026
The cp utility in uutils coreutils fails to properly handle setuid and setgid bits when ownership preservation fails. When copying with the -p (preserve) flag, the utility applies the source mode bits even if the chown operation is unsuccessful. This can result in a user-owned copy retaining original privileged bits, creating unexpected privileged executables that violate local security policies. This differs from GNU cp, which clears these bits when ownership cannot be preserved.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-coreutils | sid | 0.12.0-1 | fixed |
| Debian | rust-coreutils | forky | 0.12.0-1 | fixed |
| Debian | rust-coreutils | trixie | 0.0.30-2 | vulnerable |
| Debian | rust-coreutils | bookworm | 0.0.17-2 | vulnerable |
| Cpe | rust-coreutils | Not reported | Not reported | vulnerable |
| Cpe | coreutils | Not reported | Not reported | unknown |
| Cpe | coreutils | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-coreutils | source | sid | 0.8.0-1 | not yet assigned | Not reported | [1134876] |
| Debian | rust-coreutils | source | forky | 0.8.0-1 | not yet assigned | Not reported | [1134876] |
| Debian | rust-coreutils | source | trixie | (unfixed) | not yet assigned | Not reported | [1134876] |
| Debian | rust-coreutils | source | bookworm | (unfixed) | not yet assigned | Not reported | [1134876] |
Notes
[trixie] rust-coreutils: Minor issue [bookworm] rust-coreutils: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [rust-coreutils]Affected
Details (2)
0.0.17-2· amd64 · bookwormAffected
nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12
0.0.17-2· arm64 · bookwormAffected
nvd · rust-coreutils · debian · bookworm; nvd · rust-coreutils · debian · 12
[Debian 13 (Trixie)]
- [rust-coreutils]Affected
Details (2)
0.0.30-2· amd64 · trixieAffected
nvd · rust-coreutils · debian · 13
0.0.30-2· arm64 · trixieAffected
nvd · rust-coreutils · debian · 13
Observed:
References
- [https://github.com/uutils/coreutils/issues/9750]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-35350]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-35350]
- [https://security-tracker.debian.org/tracker/CVE-2026-35350]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35350.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]