Cyber Resilience

CVE-2024-2312

Memory Safety in Gnu Grub2 ≤ 2.12-1ubuntu5

Public PoCMemory Safety
Published
05 April 2024
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 6.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0038 30th percentile
Risk Priority 45 floored blend · peak EPSS

Summary

CVE-2024-2312 is a medium-severity Use After Free (CWE-416) vulnerability in Gnu Grub2. Its CVSS base score is 6.7 (Medium).

Operationally, ranked at the 30th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-47814Same product: Netapp Bootstrap Os
CVE-2024-43374Same product: Netapp Bootstrap Os
CVE-2025-26603Same product: Netapp Hci Compute Node
CVE-2023-4813Same product class: NAS / storage appliance
CVE-2024-56171Same product: Netapp Hci Compute Node
CVE-2023-1838Same product class: NAS / storage appliance
CVE-2023-33250Same product class: NAS / storage appliance
CVE-2023-3390Same product class: NAS / storage appliance
CVE-2023-2236Same product class: NAS / storage appliance
CVE-2023-3141Same product class: NAS / storage appliance

Affected Assets

gnu
grub2
≤ 2.12-1ubuntu5
netapp
bootstrap os
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 3 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V1.4.3

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-416

Use-after-free exploits that achieve arbitrary code execution are blocked or significantly hardened by non-executable pages and ASLR.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly incorporate memory-safety tooling and reviews that prevent most use-after-free defects.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover use-after-free issues via scanning or analysis but do not prevent their introduction.

PR.PS-02 partial match
prevents

Routine patching removes known use-after-free instances after they have been introduced in released software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development can detect use-after-free bugs before release.

prevents

Secure SDLC mandates memory-safety practices that reduce use-after-free defects.

prevents

Application security requirements can specify memory-management rules that mitigate use-after-free.

prevents

Secure architecture principles include memory-safety design choices that limit use-after-free exposure.

prevents

Secure coding standards directly prescribe avoidance of use-after-free patterns.

prevents

Change-management processes help ensure memory-safety fixes are deployed consistently.

References