CVE-2024-45777: Grub2: grub-core/gettext: integer overflow leads to heap oob write.

Published Feb 18, 2025
·
Updated

A flaw was found in grub2. The calculation of the translation buffer when reading a language .mo file in grubgettextgetstrfromposition() may overflow, leading to a Out-of-bound write. This issue can be leveraged by an attacker to overwrite grub2's sensitive heap data, eventually leading to the circumvention of secure boot protections.

Other sources

The calculation of the translation buffer when reading a language .mo file in grubgettextgetstrfromposition() may overflow leading to a Out-of-bound write. This may be leveraged by an attacker to overwrite senstive grub2's heap data, eventually leading to the circumvention of secure boot protections.

Red Hat

Affected Software

7 affected components
GNU GRUB2
GNU GRUB2<=2.12
redhat Openshift=4.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0

Event History

Feb 18, 2025
Data Sourced
via Red Hat·07:46 PM
DescriptionSeverityAffected Software
Feb 19, 2025
CVE Published
via MITRE·05:54 PM
Data Sourced
via MITRE·05:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-45777?

CVE-2024-45777 has been classified as a critical severity vulnerability due to the potential for an attacker to overwrite sensitive heap data.

2

How do I fix CVE-2024-45777?

To fix CVE-2024-45777, update to the latest stable version of GNU GRUB 2 that addresses this vulnerability.

3

What could be the impact of exploiting CVE-2024-45777?

Exploiting CVE-2024-45777 may allow an attacker to perform arbitrary code execution by overwriting critical memory areas in GRUB 2.

4

Which versions of GRUB 2 are affected by CVE-2024-45777?

CVE-2024-45777 affects certain versions of GNU GRUB 2 prior to the patch addressed in the latest release.

5

How can an attacker exploit CVE-2024-45777?

An attacker can exploit CVE-2024-45777 by manipulating the language .mo files processed by GRUB 2, leading to a potential out-of-bounds write.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203