CVE-2025-0624
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.
Fixes and workarounds
Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Source: CNA: redhatAffected products and versions
| Product | Versions | Authority |
|---|---|---|
grub2
https://www.gnu.org/software/grub/ |
≥ 0; ≤ 2.12 (affected, semver)
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-0.87.el7_9.15; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-162.el8_10; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.2 Advanced Update Support Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-87.el8_2.13; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-99.el8_4.12; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-99.el8_4.12; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-99.el8_4.12; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-123.el8_6.18; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-123.el8_6.18; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-123.el8_6.18; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.8 Extended Update Support Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.02-152.el8_8.2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.06-94.el9_5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.06-27.el9_0.22; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.2 Extended Update Support Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.06-61.el9_2.10; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.4 Extended Update Support Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
≥ 1:2.06-86.el9_4.2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.12 Red Hat openshift/ose-rhel-coreos-8
https://catalog.redhat.com/software/containers/ |
≥ 412.86.202503310142-0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.13 Red Hat openshift/ose-rhel-coreos-9
https://catalog.redhat.com/software/containers/ |
≥ 413.92.202504070146-0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.14 Red Hat openshift/ose-rhel-coreos-9
https://catalog.redhat.com/software/containers/ |
≥ 414.92.202505141057-0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.15 Red Hat openshift/ose-rhel-coreos-9
https://catalog.redhat.com/software/containers/ |
≥ 415.92.202504282058-0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.16 Red Hat openshift/ose-rhel-coreos-9
https://catalog.redhat.com/software/containers/ |
≥ 416.94.202503252048-0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.17 Red Hat openshift/ose-rhel-coreos-9
https://catalog.redhat.com/software/containers/ |
≥ 417.94.202503241418-0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat OpenShift Container Platform 4.18 Red Hat openshift/ose-rhel-coreos-9
https://catalog.redhat.com/software/containers/ |
≥ 418.94.202504021150-0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 10 Red Hat grub2
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.6 high |
CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H | CNA: redhat |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2025:2521CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2653CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2655CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2675CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2784CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2799CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2867CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2869CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3297CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3301CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3367CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3396CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3573CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3577CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3780CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:4422CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:7702CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-0624CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2346112CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://security.netapp.com/advisory/ntap-20250516-0006/ADP: CVE
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.