CVE-2026-35340
MEDIUM5.5EPSS 0.01%uutils coreutils has an Incorrect Check of Function Return Value
Published: 4/22/2026Modified: 5/5/2026
Also known as:GHSA-88ch-q68x-36v7
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.
Affected packages (2)
- crates.io/coreutilsfrom 0, < 0.6.0
- Debian/rust-coreutilsfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-35340
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-35340
- PATCHhttps://github.com/uutils/coreutils
- WEBhttps://github.com/uutils/coreutils/commit/ebc08af9c34138f474b32ea0ef34bed3b086a3ed
- WEBhttps://github.com/uutils/coreutils/pull/10035
- WEBhttps://github.com/uutils/coreutils/releases/tag/0.6.0