CVE-2025-7519 json
Polkit: xml policy file with a large number of nested elements may lead to out-of-bounds write
published 2025-07-14 15 mo ago modified 2026-11-05 3 d ago also EUVD-2025-21350
- cvss
- 6.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- policykit-1 Debian 14 127-1
debian advisories DEBIAN-CVE-2025-7519
- policykit-1 Ubuntu 22.04 LTS 0.105-33ubuntu0.1
- policykit-1 Ubuntu 24.04 LTS 124-2ubuntu1.24.04.3
- policykit-1 Ubuntu 25.10 126-2ubuntu0.1
ubuntu advisories UBUNTU-CVE-2025-7519
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- polkit Linux Micro 6.1 121-slfo.1.1_2.1
- polkit Linux Micro 6.0 121-3.1
- polkit SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES 15 SP4-LTSS +11 more 0.116-150200.3.15.1
- polkit SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Basesystem 15 SP7 +5 more 121-150500.3.6.1
- polkit SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 0.113-5.30.1
suse advisories SUSE-SU-2025:20662-1SUSE-SU-2025:20559-1SUSE-SU-2025:02528-1SUSE-SU-2025:02527-1SUSE-SU-2025:02525-1
- polkit openSUSE Tumbleweed 127-3.1
opensuse advisories openSUSE-SU-2026:10453-1
- polkit CBL-Mariner 2.0 0.119-4
- polkit Azure Linux 3.0 123-3
azure linux advisories AZL-65379AZL-65415
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/polkit-org/polkit@107d380 commit
- github.com/polkit-org/polkit#570 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-7519 updated cvss 6.7
polkit: XML policy file with a large number of nested elements may lead to out-of-bounds write
-
Red Hat Enterprise Linux 6 polkit, polkit-desktop-policy Red Hat Enterprise Linux 7 polkitaffected: workaround, no fix planned “There's no known mitigation to this vulnerability other than avoiding the implementation of unknown or untrusted polkit policy files to the system.”
-
Red Hat Enterprise Linux 8 polkit, polkit-libs Red Hat Enterprise Linux 9 polkit, polkit-libs Red Hat Enterprise Linux 10 polkit Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “There's no known mitigation to this vulnerability other than avoiding the implementation of unknown or untrusted polkit policy files to the system.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 15 mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat OpenShift Container Platform 4
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/polkit-org/polkit/commit/107d3801361b9f9084f78710178e683391f1d245
patch
-
github.com
/polkit-org/polkit/pull/570
patch
-
access.redhat.com
/security/cve/CVE-2025-7519
vdb-entry, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2379675
issue-tracking
Sources
- CVE List CVE-2025-7519
- NVD CVE-2025-7519
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.