VulnWatch by ve1ve2
high 7.1 EPSS 0.26%

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 ↗

CWE-266

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

Linked vulnerabilities (1)

CVE-2025-5791 high 7.1 EPSS 0.26% (p11) NVDCVE.org
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

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.

CWE: CWE-266NVD: Deferred