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.
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
| 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 | Mar 26, 2026 |
| 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 | Mar 26, 2026 |
| gir1.2-polkit-1.0 · Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | gir1.2-polkit-1.0 126-2ubuntu0.1 | Mar 26, 2026 |
| libpolkit-agent-1-0 · Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | libpolkit-agent-1-0 0.105-33ubuntu0.1 | Mar 26, 2026 |
| libpolkit-agent-1-0 · Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | libpolkit-agent-1-0 124-2ubuntu1.24.04.3 | Mar 26, 2026 |
| libpolkit-agent-1-0 · Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | libpolkit-agent-1-0 126-2ubuntu0.1 | Mar 26, 2026 |
| libpolkit-gobject-1-0 · Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | libpolkit-gobject-1-0 0.105-33ubuntu0.1 | Mar 26, 2026 |
| libpolkit-gobject-1-0 · Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | libpolkit-gobject-1-0 124-2ubuntu1.24.04.3 | Mar 26, 2026 |
| libpolkit-gobject-1-0 · Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | libpolkit-gobject-1-0 126-2ubuntu0.1 | Mar 26, 2026 |
| pkexec · Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | pkexec 0.105-33ubuntu0.1 | Mar 26, 2026 |
| pkexec · Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | pkexec 124-2ubuntu1.24.04.3 | Mar 26, 2026 |
| pkexec · Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | pkexec 126-2ubuntu0.1 | Mar 26, 2026 |
| policykit-1 · Debian 14 | 127-1 | DEBIAN-CVE-2025-7519 | Jul 14, 2025 |
| policykit-1 · Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | policykit-1 0.105-33ubuntu0.1 | Mar 26, 2026 |
| policykit-1 · Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | policykit-1 124-2ubuntu1.24.04.3 | Mar 26, 2026 |
| polkit · amzn 2023 | 125-1.amzn2023.0.2 | ALAS2023-2025-1217 | Oct 14, 2025 |
| polkit · opensuse-leap 15.6 | 121-150500.3.6.1 | SUSE-SU-2025:02527-1 | Jul 25, 2025 |
| polkit · sles 15.6 | 121-150500.3.6.1 | SUSE-SU-2025:02527-1 | Jul 25, 2025 |
| polkit · sles 15.7 | 121-150500.3.6.1 | SUSE-SU-2025:02527-1 | Jul 25, 2025 |
| polkit-debuginfo · amzn 2023 | 125-1.amzn2023.0.2 | ALAS2023-2025-1217 | Oct 14, 2025 |
| polkit-debugsource · amzn 2023 | 125-1.amzn2023.0.2 | ALAS2023-2025-1217 | Oct 14, 2025 |
| polkit-devel · amzn 2023 | 125-1.amzn2023.0.2 | ALAS2023-2025-1217 | Oct 14, 2025 |
| polkit-docs · amzn 2023 | 125-1.amzn2023.0.2 | ALAS2023-2025-1217 | Oct 14, 2025 |
| polkit-libs · amzn 2023 | 125-1.amzn2023.0.2 | ALAS2023-2025-1217 | Oct 14, 2025 |
| polkit-libs-debuginfo · amzn 2023 | 125-1.amzn2023.0.2 | ALAS2023-2025-1217 | Oct 14, 2025 |
| polkitd · Ubuntu 22.04.1 LTS (jammy) | 0.105-33ubuntu0.1 | polkitd 0.105-33ubuntu0.1 | Mar 26, 2026 |
| polkitd · Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | polkitd 124-2ubuntu1.24.04.3 | Mar 26, 2026 |
| polkitd · Ubuntu 25.10 (questing) | 126-2ubuntu0.1 | polkitd 126-2ubuntu0.1 | Mar 26, 2026 |
| polkitd-pkla · Ubuntu 24.04.5 LTS (noble) | 124-2ubuntu1.24.04.3 | polkitd-pkla 124-2ubuntu1.24.04.3 | Mar 26, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
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.