CVE-2025-5791
High 7.1No known exploitationFix status unknownUsers: `root` appended to group listings
Record last updated
CVSS score
7.1
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.2%
Higher than 11% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
Description
A flaw was found in the user's crate for Rust. This vulnerability allows privilege escalation via incorrect group listing when a user or process has fewer than exactly 1024 groups, leading to the erroneous inclusion of the root group in the access list.
Weakness: CWE-266
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Trusted Profile Analyzer | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift sandboxed containers 1.10 (unaffected) | 1.10-1753885668 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHSA-2025:12359 (opens in a new tab)vendor-advisory, x_refsource_redhat
- https://access.redhat.com/security/cve/CVE-2025-5791 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2370001 (opens in a new tab)issue-tracking, x_refsource_redhat
- https://crates.io/crates/users (opens in a new tab)
- https://github.com/ogham/rust-users/issues/44 (opens in a new tab)
- https://rustsec.org/advisories/RUSTSEC-2025-0040.html (opens in a new tab)