---
id: CVE-2024-45777
title: A flaw was found in grub2
summary: >-
  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 ove…
severity: medium
cvss: 6.7
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: gnu
product: grub2
affected:
  - grub2 <= 2.12
  - openshift = 4.0
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
published: '2025-02-19'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45777'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:20532'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2024-45777'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2346343'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00244
epssPercentile: 0.13931
ingestedAt: '2026-06-29T13:24:34.160Z'
---

## Overview

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

- `grub2 <= 2.12`
- `openshift = 4.0`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
