Out-of-bounds Write Affecting polkit-debugsource package, versions <0:125-1.amzn2023.0.2


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-AMZN2023-POLKITDEBUGSOURCE-13560783
  • 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:2023 polkit-debugsource to version 0:125-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2025-1217.

NVD Description

Note: Versions mentioned in the description apply only to the upstream polkit-debugsource package and not the polkit-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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