CVE Database
/

CVE-2025-0622

Back to search

CVE-2025-0622

Published: Feb 18, 2025

Modified: Mar 24, 2026

PUBLISHED

CVSS v3.1

6.4

MEDIUM

Description

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.

VendorProductVersions

Unknown

grub2

affected
0 - <= 2.12

Red Hat

Red Hat Enterprise Linux 10

unaffected
1:2.12-15.el10_0 - < *

Red Hat

Red Hat Enterprise Linux 9

unaffected
1:2.06-104.el9_6 - < *

Red Hat

Red Hat Enterprise Linux 7

All versions

Red Hat

Red Hat Enterprise Linux 8

All versions

Red Hat

Red Hat OpenShift Container Platform 4

All versions

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Attack Vector

Local

Attack Complexity

High

Privileges Required

High

User Interaction

None

Scope

Unchanged

Confidentiality

High

Integrity

High

Availability

High

References

RHSA-2025:16154
vendor-advisory
x_refsource_REDHAT
RHSA-2025:6990
vendor-advisory
x_refsource_REDHAT
RHBZ#2345865
issue-tracking
x_refsource_REDHAT

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now