CVE-2025-0622
Grub2 Command gpg Use-After-Free Arbitrary Code Execution
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.
INFO
Published Date :
Feb. 18, 2025, 8:15 p.m.
Last Modified :
May 13, 2025, 8:15 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
0.5
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-0622
.
URL | Resource |
---|---|
https://access.redhat.com/errata/RHSA-2025:6990 | |
https://access.redhat.com/security/cve/CVE-2025-0622 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2345865 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-0622
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-0622
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 13, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:6990 -
New CVE Received by [email protected]
Feb. 18, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added Reference https://access.redhat.com/security/cve/CVE-2025-0622 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2345865
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-0622
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-0622
weaknesses.