GRUB2 Exit Issue Leads to Use-After-Free Condition and Potential Secure Boot Bypass
CVE-2024-2312
6.7MEDIUM
Key facts: CVE-2024-2312 is a medium severity (CVSS 6.7) vulnerability in Debian based GNU GRUB Linux. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.4%, the estimated probability of exploitation in the next 30 days. Fixed in Debian based GNU GRUB Linux 2.12-1ubuntu5.
What is CVE-2024-2312?
GRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 module leaving UEFI system table hooks after exit. This lead to a use-after-free condition, and could possibly lead to secure boot bypass.
Affected Version(s)
Debian based GNU GRUB Linux 0 < 2.12-1ubuntu5
References
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/...
issue-tracking
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2312
issue-tracking
https://security.netapp.com/advisory/ntap-20240426-0003/
More Debian vulnerabilities
- CVE-2026-109518: Remote Code Execution Vulnerability in Debian and Ubuntu Package Management(HIGH)
- CVE-2025-8454: OpenPGP Verification Bypass in Devscripts Tool Affecting Debian(CRITICAL)