Skip to main content
Network Thinking Solutions Logo

CVE-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 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.

All CVEs
CVE-2025-0624Published 2/19/2025

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.

Vendor advisory
CVSS 3.17.6High

Overview

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
2/19/2025
Last modified
11/23/2026
CVE assigner
redhat
NVD analysis
Deferred

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
grub2
Vendor not specified
≤ 2.12

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8.2 Advanced Update Support
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8.4 Telecommunications Update Service
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 8.8 Extended Update Support
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 9
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 9.2 Extended Update Support
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 9.4 Extended Update Support
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat OpenShift Container Platform 4.12
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat OpenShift Container Platform 4.13
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat OpenShift Container Platform 4.14
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat OpenShift Container Platform 4.15
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat OpenShift Container Platform 4.16
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat OpenShift Container Platform 4.17
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat OpenShift Container Platform 4.18
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source
Red Hat Enterprise Linux 10
Red Hat
Range not specified — verify advisory

Verify advisory

Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

access.redhat.com/errata/RHSA-2025:2521vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2653vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2655vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2675vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2784vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2799vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2867vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2869vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3297vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3301vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3367vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3396vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3573vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3577vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3780vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:4422vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7702vendor-advisory · x_refsource_REDHAT

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.6 · High CVSS 3.1

Scored by redhat

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

7.6 · High CVSS 3.1

Scored by secalert@redhat.com

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

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2025:2521
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2653
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2655
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2675
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2784
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2799
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2867
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:2869
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3297
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3301
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3367
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3396
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3573
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3577
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:3780
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:4422
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7702
vendor-advisory
x_refsource_REDHAT
bugzilla.redhat.com/show_bug.cgi?id=2346112
issue-tracking
x_refsource_REDHAT

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.