
CVE catalog
CVE-2026-35339
The recursive mode (-R) of the chmod utility in uutils coreutils incorrectly handles exit codes when processing multiple files. The final return value is determined solely by the success or failure of
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Oct 25, 2026
The recursive mode (-R) of the chmod utility in uutils coreutils incorrectly handles exit codes when processing multiple files. The final return value is determined solely by the success or failure of the last file processed. This allows the command to return an exit code of 0 (success) even if errors were encountered on previous files, such as 'Operation not permitted'. Scripts relying on these exit codes may proceed under a false sense of success while sensitive files remain with restrictive or incorrect permissions.
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 | 0.6.0 | fixed |
| Ubuntu | rust-coreutils | 24.04 | 0.0.20-1 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.22-1 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.23-1 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.23-2 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.23-3 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.24-1 | vulnerable |
| Ubuntu | rust-coreutils | 24.04 | 0.0.24-2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.0.30-1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.0.30-2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.0.30-2ubuntu2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0-0ubuntu1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250711.2ba3a33-0ubuntu1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250711.2ba3a33-0ubuntu2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250711.2ba3a33-0ubuntu3 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250711.2ba3a33-0ubuntu4 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250801.cf79675-0ubuntu1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250813.4af2a84-0ubuntu2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250813.4af2a84-0ubuntu4 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250813.4af2a84-0ubuntu6 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.1.0+git20250813.4af2a84-0ubuntu7 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.2.2-0ubuntu1 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.2.2-0ubuntu2 | vulnerable |
| Ubuntu | rust-coreutils | 25.10 | 0.2.2-0ubuntu2.1 | vulnerable |
| Cpe | coreutils | Not reported | 0.6.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-coreutils | source | sid | 0.6.0-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-coreutils | source | forky | 0.6.0-1 | not yet assigned | Not reported | Not reported |
| Debian | rust-coreutils | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | rust-coreutils | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | coreutils | cpe | Not reported | 0.6.0 | Not reported | Not reported | Not reported |
| Cpe | coreutils | cpe | Not reported | 0.6.0 | Not reported | NVD-CVE-2026-35339 | Not reported |
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/pull/9793]
- [https://github.com/uutils/coreutils/releases/tag/0.6.0]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-35339]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-35339]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-35339]
- [https://security-tracker.debian.org/tracker/CVE-2026-35339]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35339.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]