Skip to content
OpenAdvisories
Medium · 6.7 CVE-2025-7519 EUVD-2025-21350GHSA-f8f8-m8xj-9xh7

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

Published Jul 14, 2025 · Updated Nov 5, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— polkit ≤ 126 —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 policykit-1 127-1 —
Debian 13 policykit-1 No fix yet —
Debian 12 policykit-1 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 policykit-1 126-2ubuntu0.1 USN-8173-1
Ubuntu 24.04 LTS policykit-1 124-2ubuntu1.24.04.3 USN-8173-1
Ubuntu 22.04 LTS policykit-1 0.105-33ubuntu0.1 USN-8173-1
Ubuntu 20.04 LTS policykit-1 No fix yet —
Ubuntu 18.04 LTS policykit-1 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS policykit-1 No fix yet —
Ubuntu Pro 14.04 LTS policykit-1 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 polkit 121-150500.3.6.1 SUSE-SU-2025:02527-1
SLES 15 SP6 polkit 121-150500.3.6.1 SUSE-SU-2025:02527-1
SLES 15 SP5 polkit 121-150500.3.6.1 SUSE-SU-2025:02527-1
SLES 15 SP4 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SLES 15 SP3 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 polkit 0.113-5.30.1 SUSE-SU-2025:02525-1
SLES for SAP 15 SP5 polkit 121-150500.3.6.1 SUSE-SU-2025:02527-1
SLES for SAP 15 SP4 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SLES for SAP 15 SP3 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SLE Micro 6.1 polkit 121-slfo.1.1_2.1 SUSE-SU-2025:20662-1
SLE Micro 6.0 polkit 121-3.1 SUSE-SU-2025:20559-1
SLE Micro 5.5 polkit 121-150500.3.6.1 SUSE-SU-2025:02527-1
SLE Micro 5.4 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SLE Micro 5.3 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SLE Micro 5.2 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SLE Micro 5.1 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SLE HPC 15 SP5 polkit 121-150500.3.6.1 SUSE-SU-2025:02527-1
SLE HPC 15 SP4 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SLE HPC 15 SP3 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SUSE Manager Server 4.3 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SUSE Manager Proxy 4.3 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
SUSE Enterprise Storage 7.1 polkit 0.116-150200.3.15.1 SUSE-SU-2025:02528-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed polkit 127-3.1 openSUSE-SU-2026:10453-1
openSUSE Leap 15.6 polkit 121-150500.3.6.1 SUSE-SU-2025:02527-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 polkit +3 125-1.amzn2023.0.2 ALAS2023-2025-1217
Amazon Linux 2 polkit +2 0.112-26.amzn2.2.1 ALAS2-2025-3024

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 polkit 123-3 —
Azure Linux 2 (CBL-Mariner) polkit 0.119-4 —

Advisories 9

References