CVEfocus › CVE database › CVE-2025-7519

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

CVSS 6.7 MediumEPSS 0.3% (higher than 15% of CVEs)Published 2025-07-14Updated 2026-11-24Assigner: redhat

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.

CWE-787

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
16Fix pending
9Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04policykit-1Not affected
vulnerable_code_not_present
Ubuntu 25.10policykit-1Fixed126-2ubuntu0.1UBUNTU-CVE-2025-7519
Ubuntu 24.04policykit-1Fixed124-2ubuntu1.24.04.3UBUNTU-CVE-2025-7519
Ubuntu 22.04policykit-1Fixed0.105-33ubuntu0.1UBUNTU-CVE-2025-7519
Ubuntu 20.04policykit-1Fix pendingUBUNTU-CVE-2025-7519
Ubuntu 18.04policykit-1Fix pendingUBUNTU-CVE-2025-7519
Ubuntu 16.04policykit-1Fix pendingUBUNTU-CVE-2025-7519
Ubuntu 14.04policykit-1Fix pendingUBUNTU-CVE-2025-7519
Debian 14policykit-1Fixed127-1DEBIAN-CVE-2025-7519
Debian 13policykit-1Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-7519
Debian 12policykit-1Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-7519
Red Hat Enterprise Linux 10polkitFix pending
Fix deferred
Red Hat Enterprise Linux 10polkit-develFix pending
Fix deferred
Red Hat Enterprise Linux 10polkit-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10polkit-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9polkitFix pending
Fix deferred
Red Hat Enterprise Linux 9polkit-develFix pending
Fix deferred
Red Hat Enterprise Linux 9polkit-docsFix pending
Fix deferred
Red Hat Enterprise Linux 9polkit-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8polkitFix pending
Fix deferred
Red Hat Enterprise Linux 8polkit-develFix pending
Fix deferred
Red Hat Enterprise Linux 8polkit-docsFix pending
Fix deferred
Red Hat Enterprise Linux 8polkit-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7polkitWill not fix
Out of support scope
Red Hat Enterprise Linux 7polkit-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7polkit-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 6polkitWill not fix
Out of support scope
Red Hat Enterprise Linux 6polkit-desktop-policyWill not fix
Out of support scope
Red Hat Enterprise Linux 6polkit-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6polkit-docsWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: There's no known mitigation to this vulnerability other than avoiding the implementation of unknown or untrusted polkit policy files to the system.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.