CVE-2025-5791: 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…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
https://nvd.nist.gov/vuln/detail/CVE-2025-5791 ↗
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. References: https://access.redhat.com/errata/RHSA-2025:12359 https://access.redhat.com/security/cve/CVE-2025-5791 https://bugzilla.redhat.com/show_bug.cgi?id=2370001 https://crates.io/crates/users https://github.com/ogham/rust-users/issues/44 https://rustsec.org/advisories/RUSTSEC-2025-0040.html