6.7medium
Grub2: grub-core/gettext: integer overflow leads to heap oob write.
- Severity
- 6.7medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A flaw was found in grub2. The calculation of the translation buffer when reading a language .mo file in grub_gettext_getstr_from_position() 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| grub2 | up to 2.12 Not affected: from 1:2.06-114.el9_7 before * | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| gnu grub2 | up to 2.12 | NVD |
| redhat openshift | 4.0 | NVD |
| redhat enterprise_linux | 7.0, 8.0, 9.0, 10.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
A flaw was found in grub2. The calculation of the translation buffer when reading a language .mo file in grub_gettext_getstr_from_position() 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.
NVD (es)
Se encontró un defecto en Grub2. El cálculo del búfer de traducción al leer un archivo .mo .mo en grub_gettext_getstr_from_position () puede desbordarse, lo que lleva a una escritura fuera de límite. Un atacante puede aprovechar este problema para sobrescribir los datos del montón confidenciales de Grub2, lo que eventualmente conduce a la elección de protecciones seguras de arranque.
References
| https://access.redhat.com/errata/RHSA-2025:20532 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2024-45777 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2346343 | issue-tracking, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45777 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2024-45777 changed 2026-11-24 | Public domain |