6.4

CVE-2025-0622: Grub2: command/gpg: use-after-free due to hooks not being removed on module unload

Deferred
AliasesUBUNTU-CVE-2025-0622DEBIAN-CVE-2025-0622
Published 18-02-2025Last modified 24-11-2026

Vulnerability summary

CVE-2025-0622 is a medium (CVSS 6.4) Use After Free vulnerability in grub2. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 22.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 9

Timeline

  1. 18-02-2025
    PublishedVulnerability first disclosed.
  2. 24-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.28% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu3 products
  • grub2All versions (No fix recorded)
  • grub2-signedAll versions (No fix recorded)
  • grub2-unsignedAll versions (No fix recorded)
Debian1 product
  • grub2< 2.06-13+deb12u2 | < 2.12-6

2 vendors · 4 products

References

8 links