| Name | CVE-2024-2312 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| grub2 (PTS) | bullseye (security), bullseye | 2.06-3~deb11u6 | fixed |
| bookworm, bookworm (security) | 2.06-13+deb12u1 | fixed |
| forky, trixie | 2.12-9 | fixed |
| sid | 2.14~git20250718.0e36779-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| grub2 | source | buster | (not affected) | | | |
| grub2 | source | bullseye | (not affected) | | | |
| grub2 | source | bookworm | (not affected) | | | |
| grub2 | source | (unstable) | 2.12-2 | | | |
Notes
[bookworm] - grub2 <not-affected> (Vulnerable code not present)
[bullseye] - grub2 <not-affected> (Vulnerable code not present)
[buster] - grub2 <not-affected> (Vulnerable code not present)
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2054127