CVE-2026-35340
published medium CVSS 3.1 · 5.5uutils coreutils chown and chgrp False Success Exit Code in Recursive Mode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Uutils | — | coreutils0 to < 0.6.0 · Other versions: unaffected · Platforms: Linux, Unix, macOS | Affected | Not stated | canonical |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Uutils | coreutils | 0 to < 0.6.0 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-253 CWE-253: Incorrect Check of Function Return Value
References
2Provider assertions
2canonical · cna
uutils coreutils chown and chgrp False Success Exit Code in Recursive Mode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 20758c414d544af41a8455a44fc8dd226e12222056e8fcc7d944a87a04295af9
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record