---
id: CVE-2025-7519
title: A flaw was found in polkit
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…
severity: medium
cvss: 6.7
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: redhat
product: openshift_container_platform
affected:
  - openshift_container_platform = 4.0
  - enterprise_linux = 6.0
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
published: '2025-07-14'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-7519'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2025-7519'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2379675'
    label: secalert@redhat.com
  - url: >-
      https://github.com/polkit-org/polkit/commit/107d3801361b9f9084f78710178e683391f1d245
    label: secalert@redhat.com
  - url: 'https://github.com/polkit-org/polkit/pull/570'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00192
epssPercentile: 0.09101
ingestedAt: '2026-06-29T13:24:34.394Z'
---

## Overview

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

- `openshift_container_platform = 4.0`
- `enterprise_linux = 6.0`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
