ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1Ubuntu 1crates.io 1

Advisories

  • DEBIAN-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…

    CVE-2026-35339 Debian Updated 27 October 2026
  • GHSA-4x34-chg5-mwjj

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

    Moderate CVE-2026-35339 crates.io Updated 6 July 2026
  • UBUNTU-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…

    CVE-2026-35339 Ubuntu Updated 14 May 2026

References