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

Medium 6.7 Published Updated

A high-privilege attacker can trigger an out-of-bounds write in polkit via deeply nested XML, potentially causing crashes or arbitrary code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-7519?

CVE-2025-7519 is a medium-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 14 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-787

Which versions are affected by CVE-2025-7519?

It affects 2 products.

Linux distribution packages (26)
polkit SUSE:Enterprise Storage 7.1All versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions121-150500.3.6.1
polkit SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions121-150500.3.6.1
polkit SUSE:Linux Enterprise Micro 5.1All versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise Micro 5.2All versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise Micro 5.3All versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise Micro 5.4All versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise Micro 5.5All versions121-150500.3.6.1
polkit SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions121-150500.3.6.1
polkit SUSE:Linux Enterprise Module for Basesystem 15 SP7All versions121-150500.3.6.1
polkit SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions0.113-5.30.1
polkit SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions121-150500.3.6.1
polkit SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions0.113-5.30.1
polkit SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions0.116-150200.3.15.1
polkit SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions121-150500.3.6.1
polkit SUSE:Linux Micro 6.0All versions121-3.1
polkit SUSE:Linux Micro 6.1All versions121-slfo.1.1_2.1
polkit SUSE:Manager Proxy 4.3All versions0.116-150200.3.15.1
polkit SUSE:Manager Server 4.3All versions0.116-150200.3.15.1
polkit openSUSE:Leap 15.6All versions121-150500.3.6.1

Products include Redhat Enterprise Linux, Redhat Openshift Container Platform.

How do I fix CVE-2025-7519?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-7519 being exploited?

There is no known exploitation of CVE-2025-7519 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as AZL-65379, AZL-65415, DEBIAN-CVE-2025-7519, GHSA-f8f8-m8xj-9xh7, MGASA-2026-0100, OESA-2025-1914 and 11 more.

Is CVE-2025-7519 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free