Skip to content

CVE-2025-0690 Grub2: read: integer overflow may lead to out-of-bounds write

MediumCVSS 6.1 EPSS 0.79%
Published
Updated
Exploit status
No public exploit known

Description

The read command is used to read the keyboard input from the user, while reads it keeps the input length in a 32-bit integer value which is further used to reallocate the line buffer to accept the next character. During this process, with a line big enough it's possible to make this variable to overflow leading to a out-of-bounds write in the heap based buffer. This flaw may be leveraged to corrupt grub's internal critical data and secure boot bypass is not discarded as consequence.

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
grub2 <= 2.12 No fix listed
redhat enterprise linux < 1:2.06-104.el9_6 1:2.06-104.el9_6
redhat enterprise linux = 10 No fix listed
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:22.04) All versions No fix listed
ubuntu/grub2-unsigned(Ubuntu:22.04) 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