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

CVE-2025-7519 is fixed in 14 products on 1 platform, first by DEBIAN-CVE-2025-7519, released July 14, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-7519
- Priority: Routine
- CVSS: 6.7 (Moderate)
- EPSS: 0.0022
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 14, 2025
- Weakness: Out-of-bounds Write
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-7519

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gir1.2-polkit-1.0 Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | [gir1.2-polkit-1.0 0.105-33ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-gir1.2-polkit-1.0-0.105-33ubuntu0.1.md) | Mar 26, 2026 |
| Linux | gir1.2-polkit-1.0 Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | [gir1.2-polkit-1.0 124-2ubuntu1.24.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-gir1.2-polkit-1.0-124-2ubuntu1.24.04.3.md) | Mar 26, 2026 |
| Linux | gir1.2-polkit-1.0 Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | [gir1.2-polkit-1.0 126-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-gir1.2-polkit-1.0-126-2ubuntu0.1.md) | Mar 26, 2026 |
| Linux | libpolkit-agent-1-0 Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | [libpolkit-agent-1-0 0.105-33ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpolkit-agent-1-0-0.105-33ubuntu0.1.md) | Mar 26, 2026 |
| Linux | libpolkit-agent-1-0 Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | [libpolkit-agent-1-0 124-2ubuntu1.24.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libpolkit-agent-1-0-124-2ubuntu1.24.04.3.md) | Mar 26, 2026 |
| Linux | libpolkit-agent-1-0 Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | [libpolkit-agent-1-0 126-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libpolkit-agent-1-0-126-2ubuntu0.1.md) | Mar 26, 2026 |
| Linux | libpolkit-gobject-1-0 Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | [libpolkit-gobject-1-0 0.105-33ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpolkit-gobject-1-0-0.105-33ubuntu0.1.md) | Mar 26, 2026 |
| Linux | libpolkit-gobject-1-0 Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | [libpolkit-gobject-1-0 124-2ubuntu1.24.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libpolkit-gobject-1-0-124-2ubuntu1.24.04.3.md) | Mar 26, 2026 |
| Linux | libpolkit-gobject-1-0 Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | [libpolkit-gobject-1-0 126-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-libpolkit-gobject-1-0-126-2ubuntu0.1.md) | Mar 26, 2026 |
| Linux | pkexec Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | [pkexec 0.105-33ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-pkexec-0.105-33ubuntu0.1.md) | Mar 26, 2026 |
| Linux | pkexec Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | [pkexec 124-2ubuntu1.24.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-pkexec-124-2ubuntu1.24.04.3.md) | Mar 26, 2026 |
| Linux | pkexec Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | [pkexec 126-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-pkexec-126-2ubuntu0.1.md) | Mar 26, 2026 |
| Linux | policykit-1 Debian 14 | 127-1 | [DEBIAN-CVE-2025-7519](https://patchblox.com/security/data/fix/linux/debian-cve-2025-7519.md) | Jul 14, 2025 |
| Linux | policykit-1 Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | [policykit-1 0.105-33ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-policykit-1-0.105-33ubuntu0.1.md) | Mar 26, 2026 |
| Linux | policykit-1 Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | [policykit-1 124-2ubuntu1.24.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-policykit-1-124-2ubuntu1.24.04.3.md) | Mar 26, 2026 |
| Linux | polkit amzn 2023 | 125-1.amzn2023.0.2 | [ALAS2023-2025-1217](https://patchblox.com/security/data/fix/linux/alas2023-2025-1217.md) | Oct 14, 2025 |
| Linux | polkit opensuse-leap 15.6 | 121-150500.3.6.1 | [SUSE-SU-2025:02527-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02527-1.md) | Jul 25, 2025 |
| Linux | polkit sles 15.6 | 121-150500.3.6.1 | [SUSE-SU-2025:02527-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02527-1.md) | Jul 25, 2025 |
| Linux | polkit sles 15.7 | 121-150500.3.6.1 | [SUSE-SU-2025:02527-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02527-1.md) | Jul 25, 2025 |
| Linux | polkit-debuginfo amzn 2023 | 125-1.amzn2023.0.2 | [ALAS2023-2025-1217](https://patchblox.com/security/data/fix/linux/alas2023-2025-1217.md) | Oct 14, 2025 |
| Linux | polkit-debugsource amzn 2023 | 125-1.amzn2023.0.2 | [ALAS2023-2025-1217](https://patchblox.com/security/data/fix/linux/alas2023-2025-1217.md) | Oct 14, 2025 |
| Linux | polkit-devel amzn 2023 | 125-1.amzn2023.0.2 | [ALAS2023-2025-1217](https://patchblox.com/security/data/fix/linux/alas2023-2025-1217.md) | Oct 14, 2025 |
| Linux | polkit-docs amzn 2023 | 125-1.amzn2023.0.2 | [ALAS2023-2025-1217](https://patchblox.com/security/data/fix/linux/alas2023-2025-1217.md) | Oct 14, 2025 |
| Linux | polkit-libs amzn 2023 | 125-1.amzn2023.0.2 | [ALAS2023-2025-1217](https://patchblox.com/security/data/fix/linux/alas2023-2025-1217.md) | Oct 14, 2025 |
| Linux | polkit-libs-debuginfo amzn 2023 | 125-1.amzn2023.0.2 | [ALAS2023-2025-1217](https://patchblox.com/security/data/fix/linux/alas2023-2025-1217.md) | Oct 14, 2025 |
| Linux | polkitd Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | [polkitd 0.105-33ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-polkitd-0.105-33ubuntu0.1.md) | Mar 26, 2026 |
| Linux | polkitd Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | [polkitd 124-2ubuntu1.24.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-polkitd-124-2ubuntu1.24.04.3.md) | Mar 26, 2026 |
| Linux | polkitd Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | [polkitd 126-2ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-polkitd-126-2ubuntu0.1.md) | Mar 26, 2026 |
| Linux | polkitd-pkla Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | [polkitd-pkla 124-2ubuntu1.24.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-polkitd-pkla-124-2ubuntu1.24.04.3.md) | Mar 26, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
