Use After Free Affecting grub2-ppc64le package, versions <1:2.06-104.el9_6.alma.1


Severity

Recommended
0.0
medium
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.01% (1st 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX9-GRUB2PPC64LE-10590271
  • published3 Jul 2025
  • disclosed13 May 2025

Introduced: 13 May 2025

CVE-2025-0622  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 grub2-ppc64le to version 1:2.06-104.el9_6.alma.1 or higher.
This issue was patched in ALSA-2025:6990.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-ppc64le package and not the grub2-ppc64le package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

A flaw was found in command/gpg. In some scenarios, hooks created by loaded modules are not removed when the related module is unloaded. This flaw allows an attacker to force grub2 to call the hooks once the module that registered it was unloaded, leading to a use-after-free vulnerability. If correctly exploited, this vulnerability may result in arbitrary code execution, eventually allowing the attacker to bypass secure boot protections.

CVSS Base Scores

version 3.1