CVE & CISA-KEV Catalog

CVE-2025-5791

HIGH
7.1
CVSS v3
NVD

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.

How to fix

Remediation Available
registry.redhat.io/openshift-sandboxed-containers/oscRed Hat / RHEL
Fixed in:rhel9-operator@sha256:defd993caf39258bfa91b92c800b6ea907765da8ff826c451e73695367766329_s390xRHSA-2025:12359
Fixed in:monitor-rhel9@sha256:0c74e8040cbaaadc98d6f8f5d6ba3ba7a7a64efb17b900e7236ae5971c1468ba_s390xRHSA-2025:12359
Fixed in:monitor-rhel9@sha256:fe1adfde4668adc301611434ae9391a87cfc220f5cb8d4649d8238f9e885f78f_amd64RHSA-2025:12359
Fixed in:rhel9-operator@sha256:a6f29da891174e57fcfd131da7aa90c50459ba24164111b83120a1b91f2eabba_amd64RHSA-2025:12359
Fixed in:operator-bundle@sha256:889eb87711bf7d44d1a851da9c6ab4e519778f2b91400e15038573261456ff38_amd64RHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/oscRocky
Fixed in:monitor-rhel9@sha256:0c74e8040cbaaadc98d6f8f5d6ba3ba7a7a64efb17b900e7236ae5971c1468ba_s390xRHSA-2025:12359
Fixed in:operator-bundle@sha256:889eb87711bf7d44d1a851da9c6ab4e519778f2b91400e15038573261456ff38_amd64RHSA-2025:12359
Fixed in:rhel9-operator@sha256:a6f29da891174e57fcfd131da7aa90c50459ba24164111b83120a1b91f2eabba_amd64RHSA-2025:12359
Fixed in:monitor-rhel9@sha256:fe1adfde4668adc301611434ae9391a87cfc220f5cb8d4649d8238f9e885f78f_amd64RHSA-2025:12359
Fixed in:rhel9-operator@sha256:defd993caf39258bfa91b92c800b6ea907765da8ff826c451e73695367766329_s390xRHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-cloud-apiRed Hat / RHEL
Fixed in:adaptor-rhel9@sha256:145a851ce5b328570edbb67840af93b2ac74b64d61ab53edb4c2b7a032bfc0d8_amd64RHSA-2025:12359
Fixed in:adaptor-rhel9@sha256:553f4675d67f026e6ec93878232ff318c5afde3e11aaff4b242a3d8b4fbbf9a3_s390xRHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-cloud-apiRocky
Fixed in:adaptor-rhel9@sha256:145a851ce5b328570edbb67840af93b2ac74b64d61ab53edb4c2b7a032bfc0d8_amd64RHSA-2025:12359
Fixed in:adaptor-rhel9@sha256:553f4675d67f026e6ec93878232ff318c5afde3e11aaff4b242a3d8b4fbbf9a3_s390xRHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-cloud-api-adaptorRocky
Fixed in:webhook-rhel9@sha256:2a3b19f5b30d86ec642893a624fca497947b6f020b23b980c193dc6f1e8bfe86_amd64RHSA-2025:12359
Fixed in:webhook-rhel9@sha256:80072b2e31b7d66d9db7c2771fe948adb9a691c41bb6e85ce9340a14868fcc3d_s390xRHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-cloud-api-adaptorRed Hat / RHEL
Fixed in:webhook-rhel9@sha256:2a3b19f5b30d86ec642893a624fca497947b6f020b23b980c193dc6f1e8bfe86_amd64RHSA-2025:12359
Fixed in:webhook-rhel9@sha256:80072b2e31b7d66d9db7c2771fe948adb9a691c41bb6e85ce9340a14868fcc3d_s390xRHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-dmRocky
Fixed in:verity-image@sha256:0ca1f56909a56dbe69a18b00d68bec1611194af4663a95190993e1979afd6d0f_amd64RHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-dmRed Hat / RHEL
Fixed in:verity-image@sha256:0ca1f56909a56dbe69a18b00d68bec1611194af4663a95190993e1979afd6d0f_amd64RHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-mustRocky
Fixed in:gather-rhel9@sha256:26f96e210c74d7450b8452f1550b37a52eed90b39091153289c0a7a5b9560e40_s390xRHSA-2025:12359
Fixed in:gather-rhel9@sha256:cf365561379b600c23ffad02d3ac34ebb439f42edbf548b137b103d58d2d2768_amd64RHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-mustRed Hat / RHEL
Fixed in:gather-rhel9@sha256:cf365561379b600c23ffad02d3ac34ebb439f42edbf548b137b103d58d2d2768_amd64RHSA-2025:12359
Fixed in:gather-rhel9@sha256:26f96e210c74d7450b8452f1550b37a52eed90b39091153289c0a7a5b9560e40_s390xRHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-podvmRocky
Fixed in:builder-rhel9@sha256:90a5fed893ebe8fda97f73b7042477c9a668629a5793bc5052e1fa0573283e7c_amd64RHSA-2025:12359
Fixed in:builder-rhel9@sha256:148247603e736c15d7273682daf7fa77932a877351aad4393ad2936004342c14_s390xRHSA-2025:12359
Fixed in:payload-rhel9@sha256:07f395b10c3ffb142db2142648eb0a418a22c2b6b1731826b999fc161df6fdbb_amd64RHSA-2025:12359
Fixed in:payload-rhel9@sha256:7452e5c4a177f1421a096f476572820c79f7b45442e11a2fe6dce39e497927c7_s390xRHSA-2025:12359
registry.redhat.io/openshift-sandboxed-containers/osc-podvmRed Hat / RHEL
Fixed in:payload-rhel9@sha256:7452e5c4a177f1421a096f476572820c79f7b45442e11a2fe6dce39e497927c7_s390xRHSA-2025:12359
Fixed in:payload-rhel9@sha256:07f395b10c3ffb142db2142648eb0a418a22c2b6b1731826b999fc161df6fdbb_amd64RHSA-2025:12359
Fixed in:builder-rhel9@sha256:90a5fed893ebe8fda97f73b7042477c9a668629a5793bc5052e1fa0573283e7c_amd64RHSA-2025:12359
Fixed in:builder-rhel9@sha256:148247603e736c15d7273682daf7fa77932a877351aad4393ad2936004342c14_s390xRHSA-2025:12359

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

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

Exploit Intelligence

0.17%probability of exploitation in 30 days
6thpercentile

Low risk: more likely to be exploited than 6% of all known CVEs.

References

Related Vulnerabilities

Other CWE-266 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-28000Critical9.868%-Fix
CVE-2025-27007Critical9.851%--
CVE-2025-47539Critical9.831%-Fix
CVE-2022-20759High8.828%-Fix
CVE-2024-13106Medium5.327%--
CVE-2024-3013Medium6.323%--
Embed a live status badge for CVE-2025-5791
CVE-2025-5791 severity badge

Markdown

[![CVE-2025-5791](https://tridentstack.com/cve/badge/CVE-2025-5791.svg)](https://tridentstack.com/cve/CVE-2025-5791)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-5791"><img src="https://tridentstack.com/cve/badge/CVE-2025-5791.svg" alt="CVE-2025-5791"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-07-31.