CVE-2025-0624

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.

Scoring

Severity
HIGH
CVSS base score
7.6
CVSS vector
CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS probability
1.41%
CWE
CWE-787
Published
2025-02-19
Last modified
2026-08-31

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs