Skip to content

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

MediumCVSS 6.7 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

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.

Upgrade path

12 packages: 6 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
debian/policykit-1(Debian 12) = 122-3; = 122-4; = 123-1; = 123-2 +13 more No fix listed No fix yet
debian/policykit-1(Debian 13) = 126-2; = 127-1; = 127-2; = 127-3 +2 more No fix listed No fix yet
redhat enterprise linux = 6.0; = 7.0; = 8.0; = 9.0 +2 more No fix listed No fix yet
redhat openshift All versions No fix listed No fix yet
azure linux polkit(Azure Linux 3.0) < 123-3 123-3 Fixed
cbl-mariner polkit(CBL-Mariner 2.0) < 0.119-4 0.119-4 Fixed
debian/policykit-1(Debian 14) < 127-1; = 126-2 127-1 Fixed
polkit <= 126 after 126 Fixed
ubuntu/policykit-1(Ubuntu 22.04) < 0.105-33ubuntu0.1 0.105-33ubuntu0.1 Fixed
ubuntu/policykit-1(Ubuntu 24.04) < 124-2ubuntu1.24.04.3 124-2ubuntu1.24.04.3 Fixed
redhat openshift container platform = 4.0 No fix listed Versions listed
redhat rhel els = 6; = 7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
azure linux polkit(Azure Linux:3.0) < 123-3 123-3
cbl-mariner polkit(CBL-Mariner:2.0) < 0.119-4 0.119-4
debian/policykit-1(Debian:12) All versions No fix listed
debian/policykit-1(Debian:12) = 122-3 No fix listed
debian/policykit-1(Debian:12) = 122-4 No fix listed
debian/policykit-1(Debian:12) = 123-1 No fix listed
debian/policykit-1(Debian:12) = 123-2 No fix listed
debian/policykit-1(Debian:12) = 123-3 No fix listed
debian/policykit-1(Debian:12) = 124-1 No fix listed
debian/policykit-1(Debian:12) = 124-2 No fix listed
debian/policykit-1(Debian:12) = 124-3 No fix listed
debian/policykit-1(Debian:12) = 125-1 No fix listed
debian/policykit-1(Debian:12) = 125-2 No fix listed
debian/policykit-1(Debian:12) = 126-1 No fix listed
debian/policykit-1(Debian:12) = 126-2 No fix listed
debian/policykit-1(Debian:12) = 127-1 No fix listed
debian/policykit-1(Debian:12) = 127-2 No fix listed
debian/policykit-1(Debian:12) = 127-3 No fix listed
debian/policykit-1(Debian:12) = 128-1 No fix listed
debian/policykit-1(Debian:13) All versions No fix listed
debian/policykit-1(Debian:13) = 126-2 No fix listed
debian/policykit-1(Debian:13) = 127-1 No fix listed
debian/policykit-1(Debian:13) = 127-2 No fix listed
debian/policykit-1(Debian:13) = 127-3 No fix listed
debian/policykit-1(Debian:13) = 128-1 No fix listed
Show 15 more
ProductAffected versionsFixed in
debian/policykit-1(Debian:14) < 127-1 127-1
debian/policykit-1(Debian:14) = 126-2 No fix listed
polkit <= 126 No fix listed
redhat enterprise linux All versions No fix listed
redhat rhel els = 6 No fix listed
redhat rhel els = 7 No fix listed
redhat openshift All versions No fix listed
ubuntu/policykit-1(Ubuntu:22.04) < 0.105-33ubuntu0.1 0.105-33ubuntu0.1
ubuntu/policykit-1(Ubuntu:24.04) < 124-2ubuntu1.24.04.3 124-2ubuntu1.24.04.3
redhat openshift container platform = 4.0 No fix listed
redhat enterprise linux = 6.0 No fix listed
redhat enterprise linux = 7.0 No fix listed
redhat enterprise linux = 8.0 No fix listed
redhat enterprise linux = 9.0 No fix listed
redhat enterprise linux = 10.0 No fix listed

References