CVE-2025-0622: Red Hat Enterprise Linux 10
Medium severity, CVSS 6.4. EPSS: 0.3% chance of exploitation in the next 30 days.
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.
Affected products
- Red Hat Red Hat Enterprise Linux 10: before 1:2.12-15.el10_0 (fixed in 1:2.12-15.el10_0)
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9: before 1:2.06-104.el9_6 (fixed in 1:2.06-104.el9_6)
- Red Hat Red Hat Openshift Container Platform 4
Published 2025-02-18. Last modified 2026-06-30.