CVE-2025-0624 HIGH

CVE-2025-0624: Grub2: net: out-of-bounds write in grub_net_search_config_file()

Vendor Red Hat
Product Red Hat Enterprise Linux 10
Weakness CWE-787
Published February 19, 2025
Last update February 26, 2026

CVSS base score

7.6/10
Attack vector Adjacent
Attack complexity High
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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 the boot information, which can be used to by-pass secure boot protections.

Key dates

02Disclosure timeline

February 19, 2025 CVE published
February 26, 2026 Record updated