# CVE-2025-0624: Grub2: net: out-of-bounds write in grub\_net\_search\_config\_file()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.6, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-19 · Modified: 2026-11-23
- Aliases: RHSA-2025:2521, RHSA-2025:2653, RHSA-2025:2655, RHSA-2025:2675, RHSA-2025:2784, RHSA-2025:2799, RHSA-2025:2867, RHSA-2025:2869, RHSA-2025:3367, RHSA-2025:3396, UBUNTU-CVE-2025-0624, DEBIAN-CVE-2025-0624
- Record: https://cvemate.com/vulnerability/CVE-2025-0624 · JSON: https://cvemate.com/vulnerability/CVE-2025-0624/json

## Description

```text
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.
```

## Signals

- CVSS: 7.6 high (v3.1, CVE.org) CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- EPSS: 1.619%, percentile 76.904%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 33)

- debian grub2 (Debian): \< 2.06-13+deb12u2 \| \< 2.12-6
- ubuntu grub2 (Ubuntu): All versions (No fix recorded)
- ubuntu grub2-signed (Ubuntu): All versions (No fix recorded)
- ubuntu grub2-unsigned (Ubuntu): All versions (No fix recorded)
- redhat grub2 (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-common (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-debuginfo (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-debugsource (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10
- redhat grub2-efi-aa64 (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10
- redhat grub2-efi-aa64-cdboot (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10
- redhat grub2-efi-aa64-modules (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10
- redhat grub2-efi-ia32 (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-efi-ia32-cdboot (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-efi-ia32-modules (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-efi-x64 (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-efi-x64-cdboot (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-efi-x64-modules (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-emu-debuginfo (Red Hat): \< 1:2.06-86.el9\_4.2 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10
- redhat grub2-pc (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15
- redhat grub2-pc-modules (Red Hat): \< 1:2.02-152.el8\_8.2 \| \< 1:2.02-123.el8\_6.18 \| \< 1:2.02-99.el8\_4.12 \| \< 1:2.06-86.el9\_4.2 \| \< 1:2.02-87.el8\_2.13 \| \< 1:2.06-27.el9\_0.22 \| \< 1:2.06-94.el9\_5 \| \< 1:2.06-61.el9\_2.10 \| \< 1:2.02-162.el8\_10 \| \< 1:2.02-0.87.el7\_9.15

## References (first 20 of 35)

- <https://access.redhat.com/errata/RHSA-2025:2521>
- <https://access.redhat.com/errata/RHSA-2025:2653>
- <https://access.redhat.com/errata/RHSA-2025:2655>
- <https://access.redhat.com/errata/RHSA-2025:2675>
- <https://access.redhat.com/errata/RHSA-2025:2784>
- <https://access.redhat.com/errata/RHSA-2025:2799>
- <https://access.redhat.com/errata/RHSA-2025:2867>
- <https://access.redhat.com/errata/RHSA-2025:2869>
- <https://access.redhat.com/errata/RHSA-2025:3297>
- <https://access.redhat.com/errata/RHSA-2025:3301>
- <https://access.redhat.com/errata/RHSA-2025:3367>
- <https://access.redhat.com/errata/RHSA-2025:3396>
- <https://access.redhat.com/errata/RHSA-2025:3573>
- <https://access.redhat.com/errata/RHSA-2025:3577>
- <https://access.redhat.com/errata/RHSA-2025:3780>
- <https://access.redhat.com/errata/RHSA-2025:4422>
- <https://access.redhat.com/errata/RHSA-2025:7702>
- <https://access.redhat.com/security/cve/CVE-2025-0624>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2346112>
- <https://security.netapp.com/advisory/ntap-20250516-0006/>

---

Data as of 2026-12-05T03:59:56.541Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
