We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-5791

Users: `root` appended to group listings



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.

Reserved 2025-06-06 | Published 2025-06-06 | Updated 2025-06-06 | Assigner redhat


HIGH: 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Problem types

Incorrect Privilege Assignment

Product status

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Default status
affected

Timeline

2025-06-03:Reported to Red Hat.
2025-01-15:Made public.

References

access.redhat.com/security/cve/CVE-2025-5791 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2370001 (RHBZ#2370001) issue-tracking

crates.io/crates/users

github.com/ogham/rust-users/issues/44

rustsec.org/advisories/RUSTSEC-2025-0040.html

cve.org (CVE-2025-5791)

nvd.nist.gov (CVE-2025-5791)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-5791

Support options

Helpdesk Chat, Email, Knowledgebase