CVE-2025-0624Out-of-bounds Write in Grub2

Severity
7.6HIGHNVD
EPSS
0.8%
top 26.03%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 19
Latest updateJul 15

Description

A flaw was found in grub2. During the network boot process, when trying to search for the configuration file, grub copies data from a user controlled environment variable into an internal buffer using the grub_strcpy() function. During this step, it fails to consider the environment variable length when allocating the internal buffer, resulting in an out-of-bounds write. If correctly exploited, this issue may result in remote code execution through the same network segment grub is searching for

CVSS vector

CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HExploitability: 1.0 | Impact: 6.0

Affected Packages5 packages

🔴Vulnerability Details

2
OSV
CVE-2025-0624: A flaw was found in grub22025-02-19
GHSA
GHSA-q3rr-g46f-jgqr: A flaw was found in grub22025-02-19

📋Vendor Advisories

4
Oracle
Oracle Oracle Communications Risk Matrix: Platform (grub2) — CVE-2025-06242025-07-15
Red Hat
grub2: net: Out-of-bounds write in grub_net_search_config_file()2025-02-18
Microsoft
Grub2: net: out-of-bounds write in grub_net_search_config_file()2025-02-11
Debian
CVE-2025-0624: grub2 - A flaw was found in grub2. During the network boot process, when trying to searc...2025