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-35340: CWE-253: Incorrect Check of Function Return Value in Uutils coreutils

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

Description

A flaw in the ChownExecutor used by uutils coreutils chown and chgrp causes the utilities to return an incorrect exit code during recursive operations. The final exit code is determined only by the last file processed. If the last operation succeeds, the command returns 0 even if earlier ownership or group changes failed due to permission errors. This can lead to security misconfigurations where administrative scripts incorrectly assume that ownership has been successfully transferred across a directory tree.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The vulnerability in Uutils coreutils affects the ChownExecutor component used by the chown and chgrp commands. When performing recursive operations, the utilities determine the final exit code solely based on the last file processed. If the last operation succeeds but earlier ones fail due to permission errors, the command still returns a success exit code (0). This incorrect check of function return values (CWE-253) can cause administrative scripts to incorrectly conclude that ownership or group changes were fully successful across directory trees.

Potential Impact

The impact is that administrative or automation scripts relying on the exit code of uutils coreutils chown or chgrp commands may incorrectly assume that all ownership or group changes were successful. This can lead to security misconfigurations where files or directories retain incorrect ownership or group settings, potentially exposing sensitive data or causing privilege issues. There is no direct confidentiality or availability impact reported, but the integrity of ownership settings 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 ownership changes after recursive chown or chgrp operations or use alternative tools that correctly report errors. Scripts should not rely solely on the exit code of these commands for recursive operations.

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: 69e8f7ce19fe3cd2cdd00c05

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

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

Last updated: 4/23/2026, 1:05:36 AM

Views: 6

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