CVE-2024-45776Out-of-bounds Write in Grub2

Severity
6.7MEDIUMNVD
EPSS
0.0%
top 93.80%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 18

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 0.8 | Impact: 5.9

Affected Packages6 packages

🔴Vulnerability Details

2
GHSA
GHSA-8852-57vj-5pjq: When reading the language2025-02-18
OSV
CVE-2024-45776: When reading the language2025-02-18

📋Vendor Advisories

3
Red Hat
grub2: grub-core/gettext: Integer overflow leads to Heap OOB Write and Read.2025-02-18
Microsoft
Grub2: grub-core/gettext: integer overflow leads to heap oob write and read.2025-02-11
Debian
CVE-2024-45776: grub2 - When reading the language .mo file in grub_mofile_open(), grub2 fails to verify ...2024