Every CVE Search/ Get API key

CVE-2025-7519

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

6.7 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.22%Up 0.2 points since Jul 15, 2025
90%50%10%1%

What each source reports

CVE List Score used 6.7

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

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.

Record
CVE-2025-7519
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-05
EUVDEUVD-2025-21350 6.7

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.

Record
EUVD-2025-21350
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-05
GitHub AdvisoriesGHSA-f8f8-m8xj-9xh7 6.7

A flaw was found in polkit. When processing an XML policy with 32 or more nested elements in...

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.

Record
GHSA-f8f8-m8xj-9xh7
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
NVD 6.7

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.

Record
CVE-2025-7519
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-05
OSV 6.7

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

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.

Record
CVE-2025-7519
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-06
OSVDEBIAN-CVE-2025-7519 6.7

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.

Record
DEBIAN-CVE-2025-7519
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-06
Show 17 moreShow less
OSVOESA-2025-1914 6.7

polkit security update

polkit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.

Security Fix(es):

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.(CVE-2025-7519)

Record
OESA-2025-1914
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1915 6.7

polkit security update

polkit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.

Security Fix(es):

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.(CVE-2025-7519)

Record
OESA-2025-1915
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1916 6.7

polkit security update

polkit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.

Security Fix(es):

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.(CVE-2025-7519)

Record
OESA-2025-1916
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1917 6.7

polkit security update

polkit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.

Security Fix(es):

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.(CVE-2025-7519)

Record
OESA-2025-1917
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1918 6.7

polkit security update

polkit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.

Security Fix(es):

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.(CVE-2025-7519)

Record
OESA-2025-1918
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2025-1919 6.7

polkit security update

polkit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.

Security Fix(es):

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.(CVE-2025-7519)

Record
OESA-2025-1919
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2025-7519 6.7

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.

Record
UBUNTU-CVE-2025-7519
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-65379 No score

CVE-2025-7519 affecting package polkit for versions less than 0.119-4

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.

Record
AZL-65379
Updated
2026-11-02
OSVAZL-65415 No score

CVE-2025-7519 affecting package polkit for versions less than 123-3

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.

Record
AZL-65415
Updated
2026-11-05
OSVMGASA-2026-0100 No score

Updated polkit-122 packages fix security vulnerability

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

Record
MGASA-2026-0100
Updated
2026-11-02
OSVopenSUSE-SU-2026:10453-1 No score

libpolkit-agent-1-0-127-3.1 on GA media

These are all security issues fixed in the libpolkit-agent-1-0-127-3.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10453-1
Updated
2026-11-02
OSVSUSE-SU-2025:02525-1 No score

Security update for polkit

This update for polkit fixes the following issues:

  • CVE-2025-7519: Fixed a XML policy file with a large number of nested elements that may lead to out-of-bounds write. (bsc#1246472)
Record
SUSE-SU-2025:02525-1
Updated
2026-11-02
OSVSUSE-SU-2025:02527-1 No score

Security update for polkit

This update for polkit fixes the following issues:

  • CVE-2025-7519: Fixed a XML policy file with a large number of nested elements that may lead to out-of-bounds write. (bsc#1246472)
Record
SUSE-SU-2025:02527-1
Updated
2026-11-02
OSVSUSE-SU-2025:02528-1 No score

Security update for polkit

This update for polkit fixes the following issues:

  • CVE-2025-7519: Fixed a XML policy file with a large number of nested elements that may lead to out-of-bounds write. (bsc#1246472)
Record
SUSE-SU-2025:02528-1
Updated
2026-11-02
OSVSUSE-SU-2025:20559-1 No score

Security update for polkit

This update for polkit fixes the following issues:

  • CVE-2025-7519: Fixed that a XML policy file with a large number of nested elements may lead to out-of-bounds write (bsc#1246472)
Record
SUSE-SU-2025:20559-1
Updated
2026-11-02
OSVSUSE-SU-2025:20662-1 No score

Security update for polkit

This update for polkit fixes the following issues:

  • CVE-2025-7519: Fixed that a XML policy file with a large number of nested elements may lead to out-of-bounds write (bsc#1246472).
Record
SUSE-SU-2025:20662-1
Updated
2026-11-02
OSVUSN-8173-1 No score

policykit-1 vulnerabilities

It was discovered that polkit incorrectly handled nested elements in XML policy files. If an administrator were tricked into installing a malicious policy file, a remote attacker could possibly use this issue to cause polkit to crash, resulting in a denial of service. (CVE-2025-7519)

Pavel Kohout discovered that the polkit polkit-agent-helper-1 utility incorrectly handled long input. A local attacker could possibly use this issue to cause polkit to crash, resulting in a denial of service. (CVE-2026-4897)

Record
USN-8173-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
polkit
Azure Linux:2
before 0.119-4
0.119-4
polkit
Azure Linux:3
before 123-3
123-3
policykit-1
Debian:12
All versions, plus listed versions
122-3122-4123-1123-2123-3
Show 11 moreShow less
124-1124-2124-3125-1125-2126-1126-2127-1127-2127-3128-1
None known
policykit-1
Debian:13
All versions, plus listed versions
126-2127-1127-2127-3128-1
None known
policykit-1
Debian:14
before 127-1, plus listed versions
126-2
127-1
polkit
Mageia:9
before 122-2.2.mga9
122-2.2.mga9
polkit
openEuler:24.03-LTS
before 123-2.oe2403
123-2.oe2403
polkit
openEuler:24.03-LTS-SP1
before 123-2.oe2403sp1
123-2.oe2403sp1
polkit
openEuler:24.03-LTS-SP2
before 123-2.oe2403sp2
123-2.oe2403sp2
polkit
openEuler:20.03-LTS-SP4
before 0.116-11.oe2003sp4
0.116-11.oe2003sp4
Show 39 moreShow less
Affected packages
PackageAffectedFixed
polkit
openEuler:22.03-LTS-SP3
before 0.120-11.oe2203sp3
0.120-11.oe2203sp3
polkit
openEuler:22.03-LTS-SP4
before 0.120-11.oe2203sp4
0.120-11.oe2203sp4
polkit
SUSE:Linux Enterprise Server 12 SP5-LTSS
before 0.113-5.30.1
0.113-5.30.1
polkit
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 0.113-5.30.1
0.113-5.30.1
polkit
SUSE:Linux Enterprise Micro 5.5
before 121-150500.3.6.1
121-150500.3.6.1
polkit
SUSE:Linux Enterprise Module for Basesystem 15 SP6
before 121-150500.3.6.1
121-150500.3.6.1
polkit
SUSE:Linux Enterprise Module for Basesystem 15 SP7
before 121-150500.3.6.1
121-150500.3.6.1
polkit
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
before 121-150500.3.6.1
121-150500.3.6.1
polkit
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
before 121-150500.3.6.1
121-150500.3.6.1
polkit
SUSE:Linux Enterprise Server 15 SP5-LTSS
before 121-150500.3.6.1
121-150500.3.6.1
polkit
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
before 121-150500.3.6.1
121-150500.3.6.1
polkit
openSUSE:Leap 15.6
before 121-150500.3.6.1
121-150500.3.6.1
polkit
SUSE:Linux Enterprise Micro 5.3
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise Micro 5.4
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise Server 15 SP3-LTSS
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise Server 15 SP4-LTSS
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Manager Proxy 4.3
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Manager Server 4.3
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise Micro 5.1
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Enterprise Micro 5.2
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Enterprise Storage 7.1
before 0.116-150200.3.15.1
0.116-150200.3.15.1
polkit
SUSE:Linux Micro 6.0
before 121-3.1
121-3.1
polkit
SUSE:Linux Micro 6.1
before 121-slfo.1.1_2.1
121-slfo.1.1_2.1
policykit-1
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
0.105-3ubuntu30.105-4ubuntu10.105-4ubuntu20.105-4ubuntu2.14.04.10.105-4ubuntu3.14.04.1
Show 4 moreShow less
0.105-4ubuntu3.14.04.20.105-4ubuntu3.14.04.50.105-4ubuntu3.14.04.60.105-4ubuntu3.14.04.6+esm1
None known
policykit-1
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
0.105-11ubuntu20.105-130.105-13ubuntu10.105-140.105-14.1
Show 4 moreShow less
0.105-14.1ubuntu0.10.105-14.1ubuntu0.40.105-14.1ubuntu0.50.105-14.1ubuntu0.5+esm1
None known
policykit-1
Ubuntu:18.04:LTS
All versions, plus listed versions
0.105-180.105-200.105-20ubuntu0.18.04.10.105-20ubuntu0.18.04.40.105-20ubuntu0.18.04.50.105-20ubuntu0.18.04.6
None known
policykit-1
Ubuntu:20.04:LTS
All versions, plus listed versions
0.105-26ubuntu10.105-26ubuntu1.10.105-26ubuntu1.20.105-26ubuntu1.3
None known
policykit-1
Ubuntu:22.04:LTS
before 0.105-33ubuntu0.1, plus listed versions
0.105-310.105-31ubuntu10.105-31.10.105-320.105-33
0.105-33ubuntu0.1
policykit-1
Ubuntu:24.04:LTS
before 124-2ubuntu1.24.04.3, plus listed versions
123-1123-3124-1124-1ubuntu1124-2ubuntu1124-2ubuntu1.24.04.2
124-2ubuntu1.24.04.3
policykit-1
Ubuntu:25.10
before 126-2ubuntu0.1, plus listed versions
126-2
126-2ubuntu0.1
policykit-1
Ubuntu:22.04:LTS
From an advisory covering 2 CVEs
before 0.105-33ubuntu0.1, plus listed versions
0.105-310.105-31ubuntu10.105-31.10.105-320.105-33
0.105-33ubuntu0.1
policykit-1
Ubuntu:24.04:LTS
From an advisory covering 2 CVEs
before 124-2ubuntu1.24.04.3, plus listed versions
123-1123-3124-1124-1ubuntu1124-2ubuntu1124-2ubuntu1.24.04.2
124-2ubuntu1.24.04.3
policykit-1
Ubuntu:25.10
From an advisory covering 2 CVEs
before 126-2ubuntu0.1, plus listed versions
126-2
126-2ubuntu0.1
polkit
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 127-3.1
127-3.1

History

History
RecordedChangedSources
affectedOSV
affectedCVE List, EUVD, NVD, OSV
factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-7519 is a medium vulnerability (CVSS 6.7) in Red Hat Enterprise Linux 10, published July 14, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.22%, the 12th percentile. Fixed in polkit 0.119-4.

References

Show 24 moreShow less
MoveEnter Open