CVE-2025-7519
published 2025-07-14CVE-2025-7519: 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…
PriorityP334medium6.7CVSS 3.1
AVLACLPRHUINSUCHIHAH
EPSS
0.18%
8.2th percentile
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
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | policykit-1 | < policykit-1 127-1 (forky) | policykit-1 127-1 (forky) |
| hono | hono | >= 1.1.0 < 4.10.2 | 4.10.2 |
| msrc | azl3_polkit_123-3_on_azure_linux_3.0 | — | — |
| msrc | cbl2_polkit_0.119-4_on_cbl_mariner_2.0 | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | openshift_container_platform | — | — |
CVSS provenance
nvdv3.16.7MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
osv6.7MEDIUM
vendor_debian6.7LOW
vendor_msrc6.7MEDIUM
vendor_redhat6.7MEDIUM
vendor_ubuntu6.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
polkit vulnerabilities
vendor_ubuntu·2026-04-14·CVSS 6.7
CVE-2025-7519 [MEDIUM] polkit vulnerabilities
Title: polkit vulnerabilities
Summary: Several security issues were fixed in polkit.
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)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
polkit: XML policy file with a large number of nested elements may lead to out-of-bounds write
vendor_redhat·2025-07-11·CVSS 6.7
CVE-2025-7519 [MEDIUM] CWE-787 polkit: XML policy file with a large number of nested elements may lead to out-of-bounds write
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.
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
Microsoft
Polkit: xml policy file with a large number of nested elements may lead to out-of-bounds write
vendor_msrc·2025-07-08·CVSS 6.7
CVE-2025-7519 [MEDIUM] CWE-787 Polkit: xml policy file with a large number of nested elements may lead to out-of-bounds write
Polkit: xml policy file with a large number of nested elements may lead to out-of-bounds write
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-M
Debian
CVE-2025-7519: policykit-1 - A flaw was found in polkit. When processing an XML policy with 32 or more nested...
vendor_debian·2025·CVSS 6.7
CVE-2025-7519 [MEDIUM] CVE-2025-7519: policykit-1 - A flaw was found in polkit. When processing an XML policy with 32 or more nested...
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.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 127-1)
sid: resolved (fixed in 127-1)
trixie: open
GHSA
Hono Improper Authorization vulnerability
ghsa·2025-10-22
CVE-2025-62610 [HIGH] CWE-285 Hono Improper Authorization vulnerability
Hono Improper Authorization vulnerability
### Improper Authorization in Hono (JWT Audience Validation)
Hono’s JWT authentication middleware did not validate the `aud` (Audience) claim by default. As a result, applications using the middleware without an explicit audience check could accept tokens intended for other audiences, leading to potential cross-service access (token mix-up).
The issue is addressed by adding a new `verification.aud` configuration option to allow RFC 7519–compliant audience validation. This change is classified as a **security hardening improvement**, but the lack of validation can still be considered a vulnerability in deployments that rely on default JWT verification.
### Recommended secure configuration
You can enable RFC 7519–compliant audience validation us
OSV
CVE-2025-7519: A flaw was found in polkit
osv·2025-07-14·CVSS 6.7
CVE-2025-7519 [MEDIUM] CVE-2025-7519: A flaw was found in polkit
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.
GHSA
GHSA-f8f8-m8xj-9xh7: A flaw was found in polkit
ghsa_unreviewed·2025-07-14
CVE-2025-7519 [MEDIUM] CWE-787 GHSA-f8f8-m8xj-9xh7: A flaw was found in polkit
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-07-14
Published