{"vuln_id":"CVE-2025-5791","aliases":[],"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.","published_at":"2025-06-06T14:15:23.137000Z","modified_at":"2026-11-23T16:17:23.567000Z","first_seen_at":"2026-11-23T16:34:22.019652Z","severity":"high","severity_source":"nvd","cvss_score":7.1,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-266"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00258,"epss_percentile":0.10728,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-5791"},"matched_alias":null,"items":[{"id":15952,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"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…","summary":"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.\n\nReferences:\nhttps://access.redhat.com/errata/RHSA-2025:12359\nhttps://access.redhat.com/security/cve/CVE-2025-5791\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2370001\nhttps://crates.io/crates/users\nhttps://github.com/ogham/rust-users/issues/44\nhttps://rustsec.org/advisories/RUSTSEC-2025-0040.html","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5791","published_at":"2025-06-06T14:15:23.137000Z","updated_at":"2026-11-23T16:17:23.567000Z","fetched_at":"2026-11-23T16:34:21.537390Z","severity":"high","cvss_score":7.1,"epss":0.00258,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2025-5791","vuln_ids":["CVE-2025-5791","RHSA-2025:12359"],"tags":["CWE-266"],"cluster_id":14312,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/15952","html":"https://vulnwatch.ve1ve2.com/item/15952"}}]}