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

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.

Published: 2025-02-18 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-0622 is rated Low Risk (31.9/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.26%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-0622

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.01% 0.26% +0.26%
2 2026-03-29 0.06% 0.01% -0.05%
3 2025-07-29 0.06%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-0622

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.4 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
0.5 5.9 [email protected]

Weakness enumeration for CVE-2025-0622

OS Trackers for CVE-2025-0622

vendor priority summary link
debian not yet assigned CVE-2025-0622 not yet assigned priority: Debian including 1 source packages (grub2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2025-0622
redhat medium https://access.redhat.com/security/cve/CVE-2025-0622
suse medium CVE-2025-0622 severity moderate: SUSE including 395 source package names (2.0.4-5.8.146:grub2-2.06-150500.29.43.2, 2.0.4-5.8.146:grub2-i386-pc-2.06-150500.29.43.2, …), 1436 product×package rows across 294 product lines (Container suse/manager/5.0/x86_64/server, Container suse/sl-micro/6.0/base-os-container, … (294 product lines)): Fixed 1196, Known Affected 221, Known Not Affected 19. https://www.suse.com/security/cve/CVE-2025-0622/
ubuntu medium CVE-2025-0622 medium priority: Ubuntu including 3 source packages (grub2, grub2-signed, grub2-unsigned), 29 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 15, not-affected 8, ignored 6. https://ubuntu.com/security/CVE-2025-0622

Affected software / configurations for CVE-2025-0622

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-0622

cvelogic Threat Intelligence