Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35339: CWE-253: Incorrect Check of Function Return Value in Uutils coreutils

0
Medium
VulnerabilityCVE-2026-35339cvecve-2026-35339cwe-253
Published: Wed Apr 22 2026 (04/22/2026, 16:07:33 UTC)
Source: CVE Database V5
Vendor/Project: Uutils
Product: coreutils

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 17:03:31 UTC

Technical Analysis

The recursive mode (-R) of the chmod utility in uutils coreutils does not correctly aggregate exit codes when processing multiple files. Instead of reflecting any errors encountered during the entire operation, it returns the exit code of only the last file processed. This incorrect check of function return values (CWE-253) can lead to false success indications, undermining the reliability of scripts and automation that depend on accurate exit codes for permission changes.

Potential Impact

Scripts and automated processes that rely on chmod's exit code to verify successful permission changes may proceed under a false assumption of success. This can result in sensitive files retaining restrictive or incorrect permissions, potentially causing security policy violations or operational issues. There is no indication of confidentiality or availability impact, but integrity of permission enforcement is affected.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should manually verify file permissions after recursive chmod operations or avoid relying solely on the exit code for success confirmation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
canonical
Date Reserved
2026-04-02T12:58:56.086Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e8f7ce19fe3cd2cdd00c01

Added to database: 4/22/2026, 4:31:10 PM

Last enriched: 4/22/2026, 5:03:31 PM

Last updated: 4/23/2026, 1:07:25 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses