Out-of-bounds write in polkit - CVE-2025-7519

 

Out-of-bounds write in polkit - CVE-2025-7519

Published: August 21, 2025


Vulnerability identifier: #VU114347
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-7519
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Freedesktop.org
Affected software:
polkit

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing XML policy with 32 or more nested elements in depth. A remote attacker can pass specially crafted  XML data to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.


How to mitigate CVE-2025-7519

Install updates from vendor's website.

Sources