p PatchFirst

CVE-2025-0624

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

CVSS 7.6 · High · EPSS 1.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

Original sources

Check your server →