CVE-2025-7519
Medium 6.7No known exploitationFix availablePolkit: xml policy file with a large number of nested elements may lead to out-of-bounds write
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 13% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-787
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- There's no known mitigation to this vulnerability other than avoiding the implementation of unknown or untrusted polkit policy files to the system.
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift Container Platform 4 | Not documented | Not documented | CVE Program |
| redhat | enterprise_linux | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 6.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 7.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 8.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 9.0 | Not documented | NIST NVD |
| redhat | openshift_container_platform | 4.0 | Not documented | NIST NVD |
| Red Hat | Red Hat Enterprise Linux 6 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- https://github.com/polkit-org/polkit/commit/107d3801361b9f9084f78710178e683391f1d245 (opens in a new tab)patch
- https://github.com/polkit-org/polkit/pull/570 (opens in a new tab)patch
- https://access.redhat.com/security/cve/CVE-2025-7519 (opens in a new tab)vdb-entry, vendor advisory, x_refsource_redhat
- RHBZ#2379675 (opens in a new tab)issue tracking, issue-tracking, x_refsource_redhat