CVE-2025-5791
published high CVSS 3.1 · 7.1Users: `root` appended to group listings
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | rust-users0.8.0 to < 0.11.1 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat | — | openshift-sandboxed-containers/osc-rhel9-operatorRed Hat OpenShift sandboxed containers 1.10 · 1.10-1753885668 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 10 | rust-ssh-key-dir | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | rust-afterburn | Affected | Not stated | redhat |
| SUSE / openSUSE | SLE-15-SP7 | himmelblauaarch64 | Advisory build | 0.7.17+git.0.1ebdab0-150700.3.3.2 | SUSE-SU-2025:02166-1 |
| SUSE / openSUSE | SLE-15-SP7 | himmelblaux86_64 | Advisory build | 0.7.17+git.0.1ebdab0-150700.3.3.2 | SUSE-SU-2025:02166-1 |
| SUSE / openSUSE | SLE-15-SP7 | himmelblau-sshd-confignoarch | Advisory build | 0.7.17+git.0.1ebdab0-150700.3.3.2 | SUSE-SU-2025:02166-1 |
| SUSE / openSUSE | SLE-15-SP7 | libnss_himmelblau2aarch64 | Advisory build | 0.7.17+git.0.1ebdab0-150700.3.3.2 | SUSE-SU-2025:02166-1 |
Show 86 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | kata-containersRed Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
| Red Hat | — | rust-afterburnRed Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | rhtpa/rhtpa-trustification-service-rhel9Red Hat Trusted Profile Analyzer | Affected | Not stated | redhat |
| SUSE / openSUSE | SLE-15-SP7 | libnss_himmelblau2x86_64 | Advisory build | 0.7.17+git.0.1ebdab0-150700.3.3.2 | SUSE-SU-2025:02166-1 |
| SUSE / openSUSE | SLE-15-SP7 | pam-himmelblauaarch64 | Advisory build | 0.7.17+git.0.1ebdab0-150700.3.3.2 | SUSE-SU-2025:02166-1 |
| SUSE / openSUSE | SLE-15-SP7 | pam-himmelblaux86_64 | Advisory build | 0.7.17+git.0.1ebdab0-150700.3.3.2 | SUSE-SU-2025:02166-1 |
| SUSE / openSUSE | SLE-5 | afterburnaarch64 | Advisory build | 5.9.0.git21.a73f509-150300.3.5.1 | SUSE-SU-2025:3783-1 |
| SUSE / openSUSE | SLE-5 | afterburnaarch64 | Advisory build | 5.9.0.git21.a73f509-150400.3.3.1 | SUSE-SU-2025:3785-1 |
| SUSE / openSUSE | SLE-5 | afterburnaarch64 | Advisory build | 5.9.0.git21.a73f509-150400.3.3.1 | SUSE-SU-2025:3786-1 |
| SUSE / openSUSE | SLE-5 | afterburnaarch64 | Advisory build | 5.9.0.git21.a73f509-150500.3.3.1 | SUSE-SU-2025:3784-1 |
| SUSE / openSUSE | SLE-5 | afterburnx86_64 | Advisory build | 5.9.0.git21.a73f509-150300.3.5.1 | SUSE-SU-2025:3783-1 |
| SUSE / openSUSE | SLE-5 | afterburnx86_64 | Advisory build | 5.9.0.git21.a73f509-150400.3.3.1 | SUSE-SU-2025:3785-1 |
| SUSE / openSUSE | SLE-5 | afterburnx86_64 | Advisory build | 5.9.0.git21.a73f509-150400.3.3.1 | SUSE-SU-2025:3786-1 |
| SUSE / openSUSE | SLE-5 | afterburnx86_64 | Advisory build | 5.9.0.git21.a73f509-150500.3.3.1 | SUSE-SU-2025:3784-1 |
| SUSE / openSUSE | SLE-5 | afterburn-dracutnoarch | Advisory build | 5.9.0.git21.a73f509-150300.3.5.1 | SUSE-SU-2025:3783-1 |
| SUSE / openSUSE | SLE-5 | afterburn-dracutnoarch | Advisory build | 5.9.0.git21.a73f509-150400.3.3.1 | SUSE-SU-2025:3785-1 |
| SUSE / openSUSE | SLE-5 | afterburn-dracutnoarch | Advisory build | 5.9.0.git21.a73f509-150400.3.3.1 | SUSE-SU-2025:3786-1 |
| SUSE / openSUSE | SLE-5 | afterburn-dracutnoarch | Advisory build | 5.9.0.git21.a73f509-150500.3.3.1 | SUSE-SU-2025:3784-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | afterburnaarch64 | Advisory build | 5.8.2-3.1 | OPENSUSE-SU-2025:15335-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | afterburnppc64le | Advisory build | 5.8.2-3.1 | OPENSUSE-SU-2025:15335-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | afterburns390x | Advisory build | 5.8.2-3.1 | OPENSUSE-SU-2025:15335-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | afterburnx86_64 | Advisory build | 5.8.2-3.1 | OPENSUSE-SU-2025:15335-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | afterburn-dracutaarch64 | Advisory build | 5.8.2-3.1 | OPENSUSE-SU-2025:15335-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | afterburn-dracutppc64le | Advisory build | 5.8.2-3.1 | OPENSUSE-SU-2025:15335-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | afterburn-dracuts390x | Advisory build | 5.8.2-3.1 | OPENSUSE-SU-2025:15335-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | afterburn-dracutx86_64 | Advisory build | 5.8.2-3.1 | OPENSUSE-SU-2025:15335-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agamaaarch64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agamappc64le | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agamas390x | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agamax86_64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-autoinstallaarch64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-autoinstallppc64le | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-autoinstalls390x | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-autoinstallx86_64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cliaarch64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-clippc64le | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-clis390x | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-clix86_64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-bash-completionaarch64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-bash-completionppc64le | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-bash-completions390x | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-bash-completionx86_64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-fish-completionaarch64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-fish-completionppc64le | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-fish-completions390x | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-fish-completionx86_64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-zsh-completionaarch64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-zsh-completionppc64le | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-zsh-completions390x | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-cli-zsh-completionx86_64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-openapiaarch64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-openapippc64le | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-openapis390x | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-openapix86_64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-scriptsaarch64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-scriptsppc64le | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-scriptss390x | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-scriptsx86_64 | Advisory build | 17+60.68fdb92ec-26.1 | OPENSUSE-SU-2025:15412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilotaarch64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilotppc64le | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilots390x | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilotx86_64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecrackeraarch64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecrackerppc64le | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecrackers390x | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecrackerx86_64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecracker-dracut-netstartaarch64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecracker-dracut-netstartppc64le | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecracker-dracut-netstarts390x | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecracker-dracut-netstartx86_64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecracker-guestvm-toolsaarch64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecracker-guestvm-toolsppc64le | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecracker-guestvm-toolss390x | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-firecracker-guestvm-toolsx86_64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-podmanaarch64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-podmanppc64le | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-podmans390x | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | flake-pilot-podmanx86_64 | Advisory build | 3.1.19-1.1 | OPENSUSE-SU-2025:15217-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lsdaarch64 | Advisory build | 1.2.0-1.1 | OPENSUSE-SU-2025:15628-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lsdppc64le | Advisory build | 1.2.0-1.1 | OPENSUSE-SU-2025:15628-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lsds390x | Advisory build | 1.2.0-1.1 | OPENSUSE-SU-2025:15628-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lsdx86_64 | Advisory build | 1.2.0-1.1 | OPENSUSE-SU-2025:15628-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mirrorsorcereraarch64 | Advisory build | 0.1.3~1-1.1 | OPENSUSE-SU-2025:15246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mirrorsorcererppc64le | Advisory build | 0.1.3~1-1.1 | OPENSUSE-SU-2025:15246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mirrorsorcerers390x | Advisory build | 0.1.3~1-1.1 | OPENSUSE-SU-2025:15246-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | mirrorsorcererx86_64 | Advisory build | 0.1.3~1-1.1 | OPENSUSE-SU-2025:15246-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rust-users | 0.8.0 to < 0.11.1 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat OpenShift sandboxed containers 1.10 | 1.10-1753885668 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat Trusted Profile Analyzer | Default: affected | redhat · cna |
Weaknesses
1- CWE-266 Incorrect Privilege Assignment
References
6- RHSA-2025:12359 https://access.redhat.com/errata/RHSA-2025:12359
- https://access.redhat.com/security/cve/CVE-2025-5791
- RHBZ#2370001 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
Provider assertions
2redhat · cna
Users: `root` appended to group listings
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 12854088de81b1ca4f36c2903c0aed96e76c9559c422c0c2ca71350d36e95690
- Ingested
- 23 Nov 2026, 15:22:54 UTC
- Source record
- Official CVE record