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

Published Jul 11, 2025
·
Updated

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.

Other sources

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

Microsoft

When polkit is processing a XML policy with 32 or more nested elements in depth, an out-of-bounds write can be triggered. This can lead polkit to crash or other unexpected behavior and arbitrary code execution is not discarded. To explore this flaw, a high privilege account is needed as it's required to properly place the malicious policy file.

Red Hat

Affected Software

9 affected componentsFixes available
polkit polkit
redhat OpenShift Container Platform=4.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0
Microsoft cbl2 polkit 0.119-4
Microsoft azl3 polkit 123-3

Event History

Jul 11, 2025
Data Sourced
via Red Hat·10:00 PM
DescriptionSeverityAffected Software
Jul 14, 2025
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 6, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-7519?

CVE-2025-7519 is considered to have a high severity due to its potential for arbitrary code execution and system crashes.

2

How do I fix CVE-2025-7519?

To fix CVE-2025-7519, ensure you update to the latest patched version of polkit as soon as it becomes available.

3

Which versions of polkit are affected by CVE-2025-7519?

CVE-2025-7519 affects all versions of polkit that process XML policies with excessive nesting.

4

What are the potential impacts of CVE-2025-7519?

The potential impacts of CVE-2025-7519 include application crashes and unpredictable behavior in systems utilizing polkit.

5

Can CVE-2025-7519 be exploited remotely?

Exploitation of CVE-2025-7519 may require local access or high privileges, depending on the implementation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203