Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Uutils | Coreutils | < 0.6.0 |
Related Weaknesses (CWE)
References
- https://github.com/uutils/coreutils/pull/9793Issue TrackingPatch
- https://github.com/uutils/coreutils/releases/tag/0.6.0Release Notes
FAQ
What is CVE-2026-35339?
CVE-2026-35339 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2026-35339?
CVE-2026-35339 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-35339?
Check the references section above for vendor advisories and patch information. Affected products include: Uutils Coreutils.