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 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*

History

04 May 2026, 20:14

Type Values Removed Values Added
CPE cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
First Time Uutils
Uutils coreutils
References () https://github.com/uutils/coreutils/pull/9793 - () https://github.com/uutils/coreutils/pull/9793 - Issue Tracking, Patch
References () https://github.com/uutils/coreutils/releases/tag/0.6.0 - () https://github.com/uutils/coreutils/releases/tag/0.6.0 - Release Notes

22 Apr 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-22 17:16

Updated : 2026-05-04 20:14


NVD link : CVE-2026-35339

Mitre link : CVE-2026-35339

CVE.ORG link : CVE-2026-35339


JSON object : View

Products Affected

uutils

  • coreutils
CWE
CWE-253

Incorrect Check of Function Return Value