Out-of-bounds Write Affecting polkit-docs package, versions <0:0.112-26.amzn2.2.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.22% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-POLKITDOCS-13557877
  • published16 Oct 2025
  • disclosed14 Jul 2025

Introduced: 14 Jul 2025

CVE-2025-7519  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 polkit-docs to version 0:0.112-26.amzn2.2.1 or higher.
This issue was patched in ALAS2-2025-3024.

NVD Description

Note: Versions mentioned in the description apply only to the upstream polkit-docs package and not the polkit-docs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1