CVE-2024-45777: Grub2: grub-core/gettext: integer overflow leads to heap oob write.
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.
Security readout for executives and security teams
Plain-English summary
This is a bootloader memory corruption flaw in GRUB2. A highly privileged local attacker could abuse malformed translation data to overwrite sensitive bootloader heap data and potentially bypass Secure Boot protections. The business risk is concentrated on systems where attackers already have deep local control or can alter boot files.
Executive priority
Treat as a moderate-priority hardening and patching issue. It is not described as remotely exploitable, but it targets the boot trust boundary, so high-value servers, workstations, and OpenShift nodes should be remediated within normal security update cycles.
Technical view
In grub_gettext_getstr_from_position(), translation buffer size calculation for .mo language files can overflow, causing a heap out-of-bounds write. Red Hat rates it medium with CVSS 6.7: local attack, low complexity, high privileges, no user interaction, and high confidentiality, integrity, and availability impact.
Likely exposure
Exposure appears tied to Red Hat grub2 on RHEL 9, RHEL 10, and OpenShift Container Platform 4/RHCOS. The bundle lists RHEL 7 and 8 status as unknown. Systems relying on Secure Boot for trust guarantees deserve attention, especially where local administrative access is plausible.
Exploitation context
The source bundle does not report active exploitation, and KEV is false. The attack requires local access with high privileges, so this is not a typical remote internet-facing issue. Its significance is the potential to weaken Secure Boot after an attacker already reaches a privileged foothold.
Researcher notes
Evidence is strongest for Red Hat-packaged grub2 and RHCOS. The source bundle names CWE-787 and describes integer overflow leading to heap out-of-bounds write. Do not assume other distributions, exploit availability, or universal GRUB2 exposure without vendor confirmation.
Mitigation direction
Apply Red Hat guidance and updates referenced by RHSA-2025:20532.
Update affected OpenShift/RHCOS nodes through supported Red Hat channels.
Check Red Hat status for RHEL 7 and 8 before assuming exposure.
Limit local administrator and physical access to Secure Boot protected systems.
Preserve Secure Boot configuration and validate boot trust after remediation.
Validation and detection
Inventory systems using Red Hat grub2 and RHCOS packages.
Compare installed package status with Red Hat CVE and errata guidance.
Confirm whether affected assets run RHEL 9, RHEL 10, or OpenShift 4/RHCOS.
Verify patched systems still boot with intended Secure Boot policy.
Document any RHEL 7 or 8 uncertainty for vendor follow-up.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-787: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
5Timeline events
1ADP providers
4Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-787 · source CWE mapping
Out-of-bounds Write
Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.