CVE-2025-5791
highA flaw was found in the user's crate for Rust.
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.
CVSS
7.1
7.1 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Severity source: NVD CVSS v3.1 (secalert@redhat.com)
Timeline (UTC)
Published: 2025-06-06 14:15
Modified: 2026-11-04 22:17
NVD status: Deferred
Last synced 2 hours ago
Verified against the source API 2026-11-04 22:37 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://access.redhat.com/errata/RHSA-2025:12359 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2025-5791 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2370001 secalert@redhat.com
- https://crates.io/crates/users secalert@redhat.com
- https://github.com/ogham/rust-users/issues/44 secalert@redhat.com
- https://rustsec.org/advisories/RUSTSEC-2025-0040.html secalert@redhat.com
Data sources
NVD CVE API 2.0 — fetched 2026-11-04 22:37 UTC · record ↗

