Grub2: net: out-of-bounds write in grub_net_search_config_file()

Summary

CVECVE-2025-0624
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-02-19 19:15:15 UTC
Updated2026-06-29 21:16:30 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.6 HIGH from [email protected]

CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

EPSS: 0.013730000 probability, percentile 0.685940000 (date 2026-07-01)

Problem Types: CWE-787 | CWE-787 Out-of-bounds Write


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.6HIGHCVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
3.1CNACVSS7.6HIGHCVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support unaffected 1:2.02-0.87.el7_9.15 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 1:2.02-162.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support unaffected 1:2.02-87.el8_2.13 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support unaffected 1:2.02-99.el8_4.12 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service unaffected 1:2.02-99.el8_4.12 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Update Services For SAP Solutions unaffected 1:2.02-99.el8_4.12 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support unaffected 1:2.02-123.el8_6.18 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service unaffected 1:2.02-123.el8_6.18 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Update Services For SAP Solutions unaffected 1:2.02-123.el8_6.18 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support unaffected 1:2.02-152.el8_8.2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 1:2.06-94.el9_5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Update Services For SAP Solutions unaffected 1:2.06-27.el9_0.22 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support unaffected 1:2.06-61.el9_2.10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support unaffected 1:2.06-86.el9_4.2 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.12 unaffected 412.86.202503310142-0 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.13 unaffected 413.92.202504070146-0 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.14 unaffected 414.92.202505141057-0 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.15 unaffected 415.92.202504282058-0 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.16 unaffected 416.94.202503252048-0 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.17 unaffected 417.94.202503241418-0 * rpm Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4.18 unaffected 418.94.202504021150-0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2025:3577 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:2867 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:2675 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:2784 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:2799 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:3396 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:3297 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:2869 [email protected] access.redhat.com
access.redhat.com/security/cve/CVE-2025-0624 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:7702 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:4422 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:2655 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:3301 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:2653 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:3780 [email protected] access.redhat.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com
access.redhat.com/errata/RHSA-2025:3367 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2025:2521 [email protected] access.redhat.com
security.netapp.com/advisory/ntap-20250516-0006 af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
access.redhat.com/errata/RHSA-2025:3573 [email protected] access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2025-02-17T14:35:38.127ZReported to Red Hat.
CNA2025-02-18T18:00:00.000ZMade public.

Workarounds

CNA: 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report