CVE-2025-7519 — Polkit: xml policy file with a large number of nested elements may lead to out-of-bounds write
A flaw was found in polkit. When processing an XML policy with 32 or more nested elements in depth, an out-of-bounds write can be triggered. This issue can lead to a crash or other unexpected behavior, and arbitrary code execution is not discarded. To exploit this flaw, a high-privilege account is needed as it's required to place the malicious policy file properly.
Published
CVSS 3.1 score 6.7 out of 10.
Reported versions and fixes
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
-
Source-reported product
— Reported version range
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* -
Source-reported product
— Reported version range
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* -
Source-reported product
— Reported version range
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* -
Source-reported product
— Reported version range
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*