CVE-2025-7519
MEDIUM 6.7CVSS 3.1Polkit: 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
- 14 Jul 2025
- Last modified
- 24 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Analyzed
- Weakness
- CWE-787
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| CVE List | https://www.freedesktop.org/software/polkit/releases/ | polkit | <= 126 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | polkitcpe:/o:redhat:enterprise_linux:10 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | polkitcpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | polkitcpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | polkitcpe:/o:redhat:enterprise_linux:8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | polkitcpe:/o:redhat:enterprise_linux:9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-8cpe:/a:redhat:openshift:4 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4 |
all versions |
References
- https://access.redhat.com/security/cve/CVE-2025-7519 · Vendor Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2379675 · Issue Tracking, issue-tracking, x_refsource_REDHAT
- https://github.com/polkit-org/polkit/commit/107d3801361b9f9084f78710178e683391f1d245 · Patch
- https://github.com/polkit-org/polkit/pull/570 · Patch
History
- 25 Nov 2026 20:36 UTC · CVE List: first stored (published 14 Jul 2025)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 14 Jul 2025)