{"id":"CVE-2025-5791","details":"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.","aliases":["GHSA-m65q-v92h-cm7q","RUSTSEC-2025-0040"],"modified":"2026-03-23T05:13:11.108847Z","published":"2025-06-06T14:15:23.137Z","related":["SUSE-RU-2025:20961-1","SUSE-RU-2025:21046-1","SUSE-SU-2025:02166-1","SUSE-SU-2025:3783-1","SUSE-SU-2025:3784-1","SUSE-SU-2025:3785-1","SUSE-SU-2025:3786-1","openSUSE-SU-2025:15217-1","openSUSE-SU-2025:15246-1","openSUSE-SU-2025:15335-1","openSUSE-SU-2025:15412-1","openSUSE-SU-2025:15628-1"],"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-5791"},{"type":"WEB","url":"https://crates.io/crates/users"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2025-0040.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2025:12359"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2370001"},{"type":"REPORT","url":"https://github.com/ogham/rust-users/issues/44"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5791.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}