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

- Severity: Medium 6.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2025-02-18T19:25:45.929Z
- Modified: 2026-11-24T07:17:09.207Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- grub2: up to 2.12 (not affected: from 1:2.12-15.el10_0 before *; from 1:2.06-104.el9_6 before *)
- openshift/ose-rhel-coreos-9: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2025:16154> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:6990> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-45776> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2339182> (issue-tracking)

## Sources

- CVE List: [CVE-2024-45776](https://www.cve.org/CVERecord?id=CVE-2024-45776), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2024-45776](https://nvd.nist.gov/vuln/detail/CVE-2024-45776), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2024-45776 · Whole record: https://cve.day/CVE-2024-45776.json · Rebuilt by cve.day 2026-11-25T22:58:51.832Z
