Out-of-bounds write in polkit - CVE-2025-7519

 

Out-of-bounds write in polkit - CVE-2025-7519

Published: August 21, 2025


Vulnerability identifier: #VU114347
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-7519
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing XML policy with 32 or more nested elements in depth. A remote attacker can pass specially crafted  XML data to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

polkit
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Enterprise Storage
Basesystem Module
openSUSE Leap
openEuler
Anolis OS
polkit-debuginfo
typelib-1_0-Polkit-1_0
polkit-debugsource
polkit
libpolkit0-debuginfo
polkit-devel
polkit-devel-debuginfo
libpolkit0
polkit-help
polkit-libs
libpolkit-gobject-1-0
libpolkit-gobject-1-0-debuginfo
pkexec-debuginfo
pkexec
libpolkit-agent-1-0
libpolkit-agent-1-0-debuginfo
libpolkit-agent-1-0-32bit
libpolkit-gobject-1-0-32bit
libpolkit-gobject-1-0-32bit-debuginfo
libpolkit-agent-1-0-32bit-debuginfo
polkit-doc
libpolkit-gobject-1-0-64bit
libpolkit-gobject-1-0-64bit-debuginfo
libpolkit-agent-1-0-64bit
libpolkit-agent-1-0-64bit-debuginfo
polkit-docs

How to mitigate CVE-2025-7519

Install updates from vendor's website.

polkit-debuginfo - addressed in versions 0.113-5.30.1, 0.116-150200.3.15.1, 121-150500.3.6.1
typelib-1_0-Polkit-1_0 - addressed in versions 0.113-5.30.1, 0.116-150200.3.15.1, 121-150500.3.6.1
polkit-debugsource - addressed in versions 0.113-5.30.1, 0.116-150200.3.15.1, 121-150500.3.6.1
polkit - addressed in versions 0.113-5.30.1, 0.116-150200.3.15.1, 121-150500.3.6.1
libpolkit0-debuginfo - addressed in versions 0.113-5.30.1, 0.116-150200.3.15.1
polkit-devel - addressed in versions 0.113-5.30.1, 0.116-150200.3.15.1, 121-150500.3.6.1
polkit-devel-debuginfo - addressed in versions 0.113-5.30.1, 0.116-150200.3.15.1, 121-150500.3.6.1
libpolkit0 - addressed in versions 0.113-5.30.1, 0.116-150200.3.15.1
polkit-help - addressed in versions 0.116-11, 0.120-11, 123-2
polkit-libs - addressed in versions 0.116-11, 0.120-11, 123-2
polkit-devel - addressed in versions 0.116-11, 0.120-11, 123-2
polkit-debugsource - addressed in versions 0.116-11, 0.120-11, 123-2
polkit-debuginfo - addressed in versions 0.116-11, 0.120-11, 123-2
polkit - addressed in versions 0.116-11, 0.120-11, 123-2
libpolkit-gobject-1-0 - update to 121-150500.3.6.1
libpolkit-gobject-1-0-debuginfo - update to 121-150500.3.6.1
pkexec-debuginfo - update to 121-150500.3.6.1
pkexec - update to 121-150500.3.6.1
libpolkit-agent-1-0 - update to 121-150500.3.6.1
libpolkit-agent-1-0-debuginfo - update to 121-150500.3.6.1
libpolkit-agent-1-0-32bit - update to 121-150500.3.6.1
libpolkit-gobject-1-0-32bit - update to 121-150500.3.6.1
libpolkit-gobject-1-0-32bit-debuginfo - update to 121-150500.3.6.1
libpolkit-agent-1-0-32bit-debuginfo - update to 121-150500.3.6.1
polkit-doc - update to 121-150500.3.6.1
libpolkit-gobject-1-0-64bit - update to 121-150500.3.6.1
libpolkit-gobject-1-0-64bit-debuginfo - update to 121-150500.3.6.1
libpolkit-agent-1-0-64bit - update to 121-150500.3.6.1
libpolkit-agent-1-0-64bit-debuginfo - update to 121-150500.3.6.1
polkit-devel - update to 123-2
polkit-libs - update to 123-2
polkit-docs - update to 123-2
polkit - update to 123-2

External References

Related Security Bulletins