CVSS 3.1
7.1 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NHigh (7.1). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExplain CVE-2025-5791 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-5791?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-5791?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-5791 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat OpenShift sandboxed containers 1.10 | 1.10-1753885668 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-m65q-v92h-cm7q | crates.io | users | >=0.8.0 <=0.11.0 | no fix published |
| RUSTSEC-2025-0040 | crates.io | users | >=0.8.0 | no fix published |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 20.04:LTS, 22.04:LTS, 24.04:LTS | rust-users | no fix listed | UBUNTU-CVE-2025-5791 |
| SUSE | Linux Enterprise Micro 5.2 | afterburn | 5.9.0.git21.a73f509-150300.3.5.1 | SUSE-SU-2025:3783-1 |
| SUSE | Linux Enterprise Micro 5.3 | afterburn | 5.9.0.git21.a73f509-150400.3.3.1 | SUSE-SU-2025:3786-1 |
| SUSE | Linux Enterprise Micro 5.4 | afterburn | 5.9.0.git21.a73f509-150400.3.3.1 | SUSE-SU-2025:3785-1 |
| SUSE | Linux Enterprise Micro 5.5 | afterburn | 5.9.0.git21.a73f509-150500.3.3.1 | SUSE-SU-2025:3784-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | himmelblau | 0.7.17+git.0.1ebdab0-150700.3.3.2 | SUSE-SU-2025:02166-1 |
| SUSE | Linux Micro 6.0 | afterburn | 5.10.0.git73.b97f772-1.1 | SUSE-SU-2026:22917-1 |
| SUSE | Linux Micro 6.0 | afterburn | 5.9.0.git21.a73f509-1.1 | SUSE-RU-2025:21046-1 |
| SUSE | Linux Micro 6.1 | afterburn | 5.10.0.git73.b97f772-slfo.1.1_1.1 | SUSE-SU-2026:23071-1 |
| SUSE | Linux Micro 6.1 | afterburn | 5.9.0.git21.a73f509-slfo.1.1_1.1 | SUSE-RU-2025:20961-1 |
| openSUSE | Tumbleweed | afterburn | 5.8.2-3.1 | openSUSE-SU-2025:15335-1 |
| openSUSE | Tumbleweed | agama | 17+60.68fdb92ec-26.1 | openSUSE-SU-2025:15412-1 |
| openSUSE | Tumbleweed | flake-pilot | 3.1.19-1.1 | openSUSE-SU-2025:15217-1 |
| openSUSE | Tumbleweed | lsd | 1.2.0-1.1 | openSUSE-SU-2025:15628-1 |
| openSUSE | Tumbleweed | mirrorsorcerer | 0.1.3~1-1.1 | openSUSE-SU-2025:15246-1 |
| Azure Linux | 2 | kata-containers-cc | 3.2.0.azl2-7 | AZL-63848 |
| Azure Linux | 3 | kata-containers-cc | 3.15.0.aks0-15 | AZL-63771 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE.
Red Hat rates this Important.
This vulnerability is rated as an important severity because a flaw in the users crate for Rust allows local privilege escalation. Specifically, when a user or process belongs to fewer than exactly 1024 groups, the crate’s group listing logic incorrectly includes the root group in the access list. This erroneous behavior enables unauthorized processes or users to gain elevated privileges, compromising system confidentiality and integrity.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift sandboxed containers 1.1 | openshift-sandboxed-containers/osc-rhel9-operator:1.10-1753885668 | Fixed 2025-07-31 | RHSA-2025:12359 |
| Red Hat Enterprise Linux 10 | rust-ssh-key-dir | Will not fix | |
| Red Hat Enterprise Linux 9 | rust-afterburn | Will not fix | |
| Red Hat OpenShift Container Platform 4 | kata-containers | Not affected | |
| Red Hat OpenShift Container Platform 4 | rust-afterburn | Will not fix | |
| Red Hat Trusted Profile Analyzer | rhtpa/rhtpa-trustification-service-rhel9 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-5791.