All reports
Medium

grub2: grub-core/gettext: Integer overflow leads to Heap OOB Write and Read.

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-45776

Probability of exploitation in the next 30 days: 0.31%

FIRST EPSS · 2026-11-20

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.

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.