Vulnerability · Published Jul 14, 2025 · Assigned by redhat

CVE-2025-7519Polkit: xml policy file with a large number of nested elements may lead to out-of-bounds write

Medium 6.7

In plain English

A medium-severity out-of-bounds write in polkit. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)0.2%top 87.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12policykit-1no fix listedDEBIAN-CVE-2025-7519
Debian:13policykit-1no fix listedDEBIAN-CVE-2025-7519
Debian:14policykit-1127-1DEBIAN-CVE-2025-7519
Ubuntu:22.04:LTSpolicykit-10.105-33ubuntu0.1USN-8173-1
Ubuntu:22.04:LTSpolicykit-10.105-33ubuntu0.1UBUNTU-CVE-2025-7519
Ubuntu:24.04:LTSpolicykit-1124-2ubuntu1.24.04.3USN-8173-1
Ubuntu:24.04:LTSpolicykit-1124-2ubuntu1.24.04.3UBUNTU-CVE-2025-7519
Ubuntu:25.10policykit-1126-2ubuntu0.1UBUNTU-CVE-2025-7519
Ubuntu:25.10policykit-1126-2ubuntu0.1USN-8173-1

Affected products (as reported)

Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

References