Skip to main content
VulnerabilityPublished Updated

CVE-2024-2312: GRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 module

Affects grub2Source GCVE Database

0
Compare

Not known to be exploited · CVSS 6.7 Medium · fixed in 1.202 : update grub2 when convenient.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
6.7Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.202, 2.12-1ubuntu7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu to 1.202 (grub2-signed package) or 2.12-1ubuntu7 (grub2-unsigned package).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSgrub2-signedpkg:deb/ubuntu/grub2-signed?arch=source&distro=nobleOther threatsAffected
  • <1.202
Fixed in
  • 1.202
Ubuntu 24.04 LTSgrub2-unsignedpkg:deb/ubuntu/grub2-unsigned?arch=source&distro=nobleOther threatsAffected
  • <2.12-1ubuntu7
  • =2.12~rc1-10ubuntu4
  • =2.12~rc1-12ubuntu2
Fixed in
  • 2.12-1ubuntu7
Ubuntu Pro 14.04 LTSgrub2pkg:deb/ubuntu/grub2?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 2.00-19ubuntu2 – 2.02~beta2-9ubuntu1.21
28 affected builds
Fixed in–
Ubuntu Pro 14.04 LTSgrub2-signedpkg:deb/ubuntu/grub2-signed?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 1.22 – 1.34.24
28 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…