CVE-2025-0624
HIGH 7.6CVSS 3.1Grub2: 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.
- Published
- 19 Feb 2025
- Last modified
- 23 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-787
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://www.gnu.org/software/grub/ | grub2 | <= 2.12 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_els:7 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:enterprise_linux:8::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_aus:8.2::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_aus:8.4::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_aus:8.4::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_aus:8.4::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_aus:8.6::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_aus:8.6::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_aus:8.6::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_eus:8.8::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:enterprise_linux:9::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_e4s:9.0::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_eus:9.2::baseos |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:rhel_eus:9.4::baseos |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift/ose-rhel-coreos-8cpe:/a:redhat:openshift:4.12::el8 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4.13::el8 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4.14::el8 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4.15::el8 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4.16::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4.17::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4.18::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | grub2cpe:/o:redhat:enterprise_linux:10 |
References
- https://access.redhat.com/errata/RHSA-2025:2521 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2653 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2655 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2675 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2784 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2799 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2867 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2869 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3297 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3301 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3367 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3396 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3573 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3577 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3780 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:4422 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:7702 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-0624 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2346112 · issue-tracking, x_refsource_REDHAT
- https://security.netapp.com/advisory/ntap-20250516-0006/
History
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 19 Feb 2025)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 19 Feb 2025)