Skip to content

CVE-2024-45776 Grub2: grub-core/gettext: integer overflow leads to heap oob write and read.

MediumCVSS 6.7 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

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.

Upgrade path

17 packages: 7 fixed, 9 with no fix yet.

PackageAffectedFixed inStatus
redhat openshift All versions No fix listed No fix yet
ubuntu/grub2-signed(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/grub2-signed(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/grub2-signed(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/grub2-signed(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/grub2-unsigned(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/grub2-unsigned(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/grub2-unsigned(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/grub2-unsigned(Ubuntu 26.10) All versions No fix listed No fix yet
azure linux grub2(Azure Linux 3.0) < 2.06-25 2.06-25 Fixed
cbl-mariner grub2(CBL-Mariner 2.0) < 2.06-15 2.06-15 Fixed
debian/grub2(Debian 12) < 2.06-13+deb12u2; = 2.06-13; = 2.06-13+deb12u1 2.06-13+deb12u2 Fixed
debian/grub2(Debian 13) < 2.12-6 2.12-6 Fixed
debian/grub2(Debian 14) < 2.12-6 2.12-6 Fixed
grub2 <= 2.12 after 2.12 Fixed
redhat enterprise linux < 1:2.06-104.el9_6; < 1:2.12-15.el10_0; = 8 1:2.06-104.el9_6, 1:2.12-15.el10_0 Fixed
redhat rhel els = 7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cbl-mariner grub2(CBL-Mariner:2.0) < 2.06-15 2.06-15
azure linux grub2(Azure Linux:3.0) < 2.06-25 2.06-25
debian/grub2(Debian:12) < 2.06-13+deb12u2 2.06-13+deb12u2
debian/grub2(Debian:12) = 2.06-13 No fix listed
debian/grub2(Debian:12) = 2.06-13+deb12u1 No fix listed
debian/grub2(Debian:13) < 2.12-6 2.12-6
debian/grub2(Debian:14) < 2.12-6 2.12-6
ubuntu/grub2-signed(Ubuntu:22.04) All versions No fix listed
ubuntu/grub2-unsigned(Ubuntu:22.04) All versions No fix listed
grub2 <= 2.12 No fix listed
redhat enterprise linux < 1:2.12-15.el10_0 1:2.12-15.el10_0
redhat enterprise linux < 1:2.06-104.el9_6 1:2.06-104.el9_6
redhat rhel els = 7 No fix listed
redhat enterprise linux = 8 No fix listed
redhat openshift All versions No fix listed
ubuntu/grub2-signed(Ubuntu:24.04) All versions No fix listed
ubuntu/grub2-unsigned(Ubuntu:24.04) All versions No fix listed
ubuntu/grub2-signed(Ubuntu:26.04) All versions No fix listed
ubuntu/grub2-unsigned(Ubuntu:26.04) All versions No fix listed
ubuntu/grub2-signed(Ubuntu:26.10) All versions No fix listed
ubuntu/grub2-unsigned(Ubuntu:26.10) All versions No fix listed

References