Security mailing lists by PureSourceCode

CVE-2026-35339

MEDIUM 5.5CVSS 3.1

chmod: recursive mode returns exit code 0 even when some files fail (last-file-wins)

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.

Published
22 Apr 2026
Last modified
26 Oct 2026
Assigned by
security@ubuntu.com
NVD status
Analyzed
Weakness
CWE-252CWE-253CWE-755
Also known as
GHSA-4x34-chg5-mwjj
Sources
NVDJSONOSV GHSA-4x34-chg5-mwjjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@ubuntu.com (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD uutils coreutils
cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*
< 0.6.0 0.6.0
OSV crates.io uu_chmod < 0.6.0 0.6.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.