{"cve":"CVE-2025-5791","nvd":{"published":"2025-06-06T14:15:23.137","modified":"2026-06-17T09:48:45.587","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1},"cwes":["CWE-266"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:02:23.998251710+00:00"},"epss":{"cve":"CVE-2025-5791","score":0.00197,"percentile":0.09459,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m65q-v92h-cm7q","url":"https://osv.dev/vulnerability/GHSA-m65q-v92h-cm7q","summary":"users may append `root` to group listings","modified":"2026-09-10T03:50:57.706129891Z","packages":[{"ecosystem":"crates.io","name":"users","purl":"pkg:cargo/users","ranges":[">=0.8.0 <=0.11.0"],"fixed":[]}]},{"id":"RUSTSEC-2025-0040","url":"https://osv.dev/vulnerability/RUSTSEC-2025-0040","summary":"`root` appended to group listings","modified":"2025-10-28T06:28:57.282109Z","packages":[{"ecosystem":"crates.io","name":"users","purl":"pkg:cargo/users","ranges":[">=0.8.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}