CVE-2025-7519: polkit - Buffer Overflow
- Cve: CVE-2025-7519
- Name: polkit - Buffer Overflow
- 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.
- Impact: Attackers with high privileges can cause crashes or potentially execute arbitrary code, leading to system compromise.
- Remediation: Update to the latest version of polkit.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: admin_privileges
- Requirements: Attacker needs a high-privilege account to place malicious policy file
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.7
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00221
- Epss percentile: 0.1264
- Assignee: [email protected]
- Published at: 2025-07-14T14:15:25Z
- Age in days: 498
- Modified at: 2026-11-05T17:17:20Z
- Patch available: yes
- References total: 4
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-7519
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| redhat:enterprise_linux | = 10.0, = 9.0, = 8.0, = 7.0, = 6.0 | no | nvd | /v1/products/redhat/enterprise_linux |
| redhat:openshift_container_platform | = 4.0 | no | nvd | /v1/products/redhat/openshift_container_platform |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| polkit-org/polkit | commit, fix, pull | yes | /v1/repositories/polkit-org/polkit |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts