CVE-2026-35339
published medium CVSS 3.1 · 5.5uutils coreutils chmod False Success Exit Code in Recursive Mode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Uutils | — | coreutils0 to < 0.6.0 · Other versions: unaffected · Platforms: Linux, Unix, macOS | Affected | Not stated | canonical |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Uutils | coreutils | 0 to < 0.6.0 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-253 CWE-253: Incorrect Check of Function Return Value
References
2Provider assertions
2canonical · cna
uutils coreutils chmod False Success Exit Code in Recursive Mode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 88622c811e110036c850fe6ee464ce2ba9e52ce3e17271bf53dfb43b3d5a021b
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record