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.
https://security.netapp.com/advisory/ntap-20240426-0003/
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2312
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2054127
Source: Mitre, NVD
Published: 2024-04-05
Updated: 2025-08-26
Base Score: 6.5
Vector: CVSS2#AV:L/AC:L/Au:M/C:C/I:C/A:C
Severity: Medium
Base Score: 6.7
Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.00089