CVEvulnerability
CVE-2025-5791
7.1 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2025-06-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-266
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.
Related
Weakness · CWE (1)
- CWE-266 Incorrect Privilege Assignment weakness
References
- https://access.redhat.com/errata/RHSA-2025:12359 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2025-5791 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2370001 bugzilla.redhat.com
- https://crates.io/crates/users crates.io
- https://github.com/ogham/rust-users/issues/44 github.com
- https://rustsec.org/advisories/RUSTSEC-2025-0040.html rustsec.org