CVE-2025-0624
published 2025-02-19CVE-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…
PriorityP343high7.6CVSS 3.1
AVAACHPRHUINSCCHIHAH
EPSS
1.41%
69.6th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | grub2 | < grub2 2.12-6 (forky) | grub2 2.12-6 (forky) |
| gnu | grub2 | >= 0 < 2.12-6 | 2.12-6 |
| gnu | grub2 | >= 0 < 2.12-6 | 2.12-6 |
| msrc | azl3_grub2_2.06-24_on_azure_linux_3.0 | — | — |
| msrc | cbl2_grub2_2.06-14_on_cbl_mariner_2.0 | — | — |
| msrc | cm2_grub2_2.06-14_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.17.6HIGHCVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
osv7.6HIGH
vendor_debian7.6HIGH
vendor_msrc7.6HIGH
vendor_oracle7.6HIGH
vendor_redhat7.6HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2025-0624: A flaw was found in grub2
osv·2025-02-19·CVSS 7.6
CVE-2025-0624 [HIGH] CVE-2025-0624: A flaw was found in grub2
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.
GHSA
GHSA-q3rr-g46f-jgqr: A flaw was found in grub2
ghsa_unreviewed·2025-02-19
CVE-2025-0624 [HIGH] CWE-787 GHSA-q3rr-g46f-jgqr: A flaw was found in grub2
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.
Oracle
Oracle Oracle Communications Risk Matrix: Platform (grub2) — CVE-2025-0624
vendor_oracle·2025-07-15·CVSS 7.6
CVE-2025-0624 [HIGH] Oracle Oracle Communications Risk Matrix: Platform (grub2) — CVE-2025-0624
Oracle Oracle Communications Risk Matrix: Platform (grub2) vulnerability
CVE: CVE-2025-0624
CVSS: 7.6
Protocol: SFTP
Remote exploit: No
Affected versions: Adjacent
Network
Advisory: cpujul2025 (JUL 2025)
Red Hat
grub2: net: Out-of-bounds write in grub_net_search_config_file()
vendor_redhat·2025-02-18·CVSS 7.6
CVE-2025-0624 [HIGH] CWE-787 grub2: net: Out-of-bounds write in grub_net_search_config_file()
grub2: net: Out-of-bounds write in grub_net_search_config_file()
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.
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 environ
Microsoft
Grub2: net: out-of-bounds write in grub_net_search_config_file()
vendor_msrc·2025-02-11·CVSS 7.6
CVE-2025-0624 [HIGH] CWE-787 Grub2: net: out-of-bounds write in grub_net_search_config_file()
Grub2: net: out-of-bounds write in grub_net_search_config_file()
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: ht
Debian
CVE-2025-0624: grub2 - A flaw was found in grub2. During the network boot process, when trying to searc...
vendor_debian·2025·CVSS 7.6
CVE-2025-0624 [HIGH] CVE-2025-0624: grub2 - A flaw was found in grub2. During the network boot process, when trying to searc...
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.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 2.12-6)
sid: resolved (fixed in 2.12-6)
trixie: resolved (fixed in 2.12-6)
No detection rules found.
No public exploits indexed.
https://access.redhat.com/errata/RHSA-2025:2521https://access.redhat.com/errata/RHSA-2025:2653https://access.redhat.com/errata/RHSA-2025:2655https://access.redhat.com/errata/RHSA-2025:2675https://access.redhat.com/errata/RHSA-2025:2784https://access.redhat.com/errata/RHSA-2025:2799https://access.redhat.com/errata/RHSA-2025:2867https://access.redhat.com/errata/RHSA-2025:2869https://access.redhat.com/errata/RHSA-2025:3297https://access.redhat.com/errata/RHSA-2025:3301https://access.redhat.com/errata/RHSA-2025:3367https://access.redhat.com/errata/RHSA-2025:3396https://access.redhat.com/errata/RHSA-2025:3573https://access.redhat.com/errata/RHSA-2025:3577https://access.redhat.com/errata/RHSA-2025:3780https://access.redhat.com/errata/RHSA-2025:4422https://access.redhat.com/errata/RHSA-2025:7702https://access.redhat.com/security/cve/CVE-2025-0624https://bugzilla.redhat.com/show_bug.cgi?id=2346112https://security.netapp.com/advisory/ntap-20250516-0006/
2025-02-19
Published