{"id":"CVE-2025-7519","published":"2025-07-14T13:35:21Z","modified":"2026-11-05T16:07:30Z","title":"Polkit: xml policy file with a large number of nested elements may lead to out-of-bounds write","vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00221,"percentile":0.12878,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-7519","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2379675","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/polkit-org/polkit/commit/107d3801361b9f9084f78710178e683391f1d245","tags":[]},{"url":"https://github.com/polkit-org/polkit/pull/570","tags":[]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":2.58},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["<= 126"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]}],"workarounds":{"items":["There's no known mitigation to this vulnerability other than avoiding the implementation of unknown or untrusted polkit policy files to the system."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-16T03:56:04.080633Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-21350","exploited":false,"provenance":"source"}}