CVE-2024-45776

Grub2: grub-core/gettext: integer overflow leads to heap oob write and read.

State
Published
Severity
6.7 Medium
Published
Feb 18, 2025
Updated
Oct 21, 2026
Reserved
Sep 8, 2024

Read the record on cve.org

Description

When reading the language .mo file in grub_mofile_open(), grub2 fails to verify an integer overflow when allocating its internal buffer. A crafted .mo file may lead the buffer size calculation to overflow, leading to out-of-bound reads and writes. This flaw allows an attacker to leak sensitive data or overwrite critical data, possibly circumventing secure boot protections.

Scores

CVSSScoreVectorSource
3.16.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
grub2
  • 2.12 and earlierAffected
Red Hat Enterprise Linux 10Red Hat
  • 1:2.12-15.el10_0 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 1:2.06-104.el9_6 and laterNot affected
Red Hat Enterprise Linux 7Red Hat
    Red Hat Enterprise Linux 8Red Hat
      Red Hat OpenShift Container Platform 4Red Hat

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.