Use After Free Affecting grub2-pc-modules package, versions <1:2.06-104.0.1.el9_6


Severity

Recommended
0.0
medium
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.06% (19th 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-ORACLE9-GRUB2PCMODULES-10241288
  • published24 May 2025
  • disclosed18 Feb 2025

Introduced: 18 Feb 2025

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

How to fix?

Upgrade Oracle:9 grub2-pc-modules to version 1:2.06-104.0.1.el9_6 or higher.
This issue was patched in ELSA-2025-6990.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-pc-modules package and not the grub2-pc-modules package as distributed by Oracle. See How to fix? for Oracle: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