cve.bz

CVE-2025-0624 Out-of-bounds Write

7.6 highEPSS 1.4%Fix available

High (7.6). EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.6 high
CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-09-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 1:2.02-0.87.el7_9.15
  • Red Hat Red Hat Enterprise Linux 8: fixed in 1:2.02-162.el8_10
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 1:2.02-87.el8_2.13
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 1:2.02-99.el8_4.12
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service: fixed in 1:2.02-99.el8_4.12
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions: fixed in 1:2.02-99.el8_4.12
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 1:2.02-123.el8_6.18
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service: fixed in 1:2.02-123.el8_6.18
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-0624 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-0624?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-0624?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-0624 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 7 Extended Lifecycle Support1:2.02-0.87.el7_9.15
Red Hat Enterprise Linux 81:2.02-162.el8_10
Red Hat Enterprise Linux 8.2 Advanced Update Support1:2.02-87.el8_2.13
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support1:2.02-99.el8_4.12
Red Hat Enterprise Linux 8.4 Telecommunications Update Service1:2.02-99.el8_4.12
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions1:2.02-99.el8_4.12
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support1:2.02-123.el8_6.18
Red Hat Enterprise Linux 8.6 Telecommunications Update Service1:2.02-123.el8_6.18
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions1:2.02-123.el8_6.18
Red Hat Enterprise Linux 8.8 Extended Update Support1:2.02-152.el8_8.2
Red Hat Enterprise Linux 91:2.06-94.el9_5
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions1:2.06-27.el9_0.22
Red Hat Enterprise Linux 9.2 Extended Update Support1:2.06-61.el9_2.10
Red Hat Enterprise Linux 9.4 Extended Update Support1:2.06-86.el9_4.2
Red Hat OpenShift Container Platform 4.12412.86.202503310142-0
Red Hat OpenShift Container Platform 4.13413.92.202504070146-0
Red Hat OpenShift Container Platform 4.14414.92.202505141057-0
Red Hat OpenShift Container Platform 4.15415.92.202504282058-0
Red Hat OpenShift Container Platform 4.16416.94.202503252048-0
Red Hat OpenShift Container Platform 4.17417.94.202503241418-0
Red Hat OpenShift Container Platform 4.18418.94.202504021150-0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11grub22.06-3~deb11u7DLA-4685-1
Debian12grub22.06-13+deb12u2DEBIAN-CVE-2025-0624
Debian13, 14grub22.12-6DEBIAN-CVE-2025-0624
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moregrub2-signed, grub2-unsignedno fix listedUBUNTU-CVE-2025-0624
UbuntuPro:14.04:LTSgrub2, grub2-signedno fix listedUBUNTU-CVE-2025-0624
Red Hatenterprise_linux:8::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-162.el8_10RHSA-2025:3367
Red Hatenterprise_linux:9::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.06-94.el9_5RHSA-2025:2867
Red Hatrhel_aus:8.2::baseosgrub2, grub2-pc, grub2-tools and 19 more1:2.02-87.el8_2.13RHSA-2025:2784
Red Hatrhel_aus:8.4::baseos, rhel_tus:8.4::baseosgrub2, grub2-pc, grub2-tools and 19 more1:2.02-99.el8_4.12RHSA-2025:2655
Red Hatrhel_aus:8.6::baseos, rhel_tus:8.6::baseosgrub2, grub2-pc, grub2-tools and 19 more1:2.02-123.el8_6.18RHSA-2025:2653
Red Hatrhel_e4s:8.4::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.02-99.el8_4.12RHSA-2025:2655
Red Hatrhel_e4s:8.6::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-123.el8_6.18RHSA-2025:2653
Red Hatrhel_e4s:9.0::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.06-27.el9_0.22RHSA-2025:2799
Red Hatrhel_els:7grub2, grub2-pc, grub2-ppc64 and 16 more1:2.02-0.87.el7_9.15RHSA-2025:3396
Red Hatrhel_eus:8.8::baseosgrub2, grub2-pc, grub2-tools and 22 more1:2.02-152.el8_8.2RHSA-2025:2521
Red Hatrhel_eus:9.2::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.06-61.el9_2.10RHSA-2025:2869
Red Hatrhel_eus:9.4::baseosgrub2, grub2-pc, grub2-tools and 20 more1:2.06-86.el9_4.2RHSA-2025:2675
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.2 and 2 moregrub22.04-150300.22.52.3SUSE-SU-2025:0607-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 7 moregrub22.06-150400.11.55.2SUSE-SU-2025:0588-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 moregrub22.06-150500.29.43.2SUSE-SU-2025:0587-1
SUSELinux Enterprise Micro 5.1grub22.04-150300.3.11.1SUSE-SU-2025:01961-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Server Applications 15 SP6grub22.12-150600.8.18.2SUSE-SU-2025:0586-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5grub22.02-181.2SUSE-SU-2025:0629-1
SUSELinux Micro 6.0grub22.12~rc1-6.1SUSE-SU-2025:20511-1
SUSELinux Micro 6.1grub22.12-slfo.1.1_2.1SUSE-SU-2025:20863-1
openSUSELeap 15.6grub22.12-150600.8.18.2SUSE-SU-2025:0586-1
openSUSETumbleweedgrub22.12-35.1openSUSE-SU-2025:14822-1
AlmaLinux8grub2-pc, grub2-tools, grub2-common and 15 more1:2.02-162.el8_10.alma.1ALSA-2025:3367
AlmaLinux9grub2-pc, grub2-tools, grub2-common and 12 more1:2.06-94.el9_5.alma.1ALSA-2025:2867
Rocky Linux8grub21:2.02-162.el8_10.rocky.0.1RLSA-2025:3367
Rocky Linux9grub21:2.06-94.el9_5RLSA-2025:2867
Azure Linux2grub22.06-14AZL-56997
Azure Linux3grub22.06-24AZL-57049
Alpaquita23grub2.12-r8BELL-CVE-2025-0624
Alpaquitastreamgrub2.12-r10BELL-CVE-2025-0624

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Product Security team has rated this vulnerability as Important, as an attacker that has access to the same network segment is able to exploit it once netboot is enabled in grub2.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportgrub2-1:2.02-0.87.el7_9.15Fixed 2025-03-31RHSA-2025:3396
Red Hat Enterprise Linux 8grub2-1:2.02-162.el8_10Fixed 2025-03-27RHSA-2025:3367
Red Hat Enterprise Linux 8.2 Advanced Update Supportgrub2-1:2.02-87.el8_2.13Fixed 2025-03-13RHSA-2025:2784
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgrub2-1:2.02-99.el8_4.12Fixed 2025-03-11RHSA-2025:2655
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicegrub2-1:2.02-99.el8_4.12Fixed 2025-03-11RHSA-2025:2655
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsgrub2-1:2.02-99.el8_4.12Fixed 2025-03-11RHSA-2025:2655
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgrub2-1:2.02-123.el8_6.18Fixed 2025-03-11RHSA-2025:2653
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicegrub2-1:2.02-123.el8_6.18Fixed 2025-03-11RHSA-2025:2653
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgrub2-1:2.02-123.el8_6.18Fixed 2025-03-11RHSA-2025:2653
Red Hat Enterprise Linux 8.8 Extended Update Supportgrub2-1:2.02-152.el8_8.2Fixed 2025-03-10RHSA-2025:2521
Red Hat Enterprise Linux 9grub2-1:2.06-94.el9_5Fixed 2025-03-17RHSA-2025:2867
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsgrub2-1:2.06-27.el9_0.22Fixed 2025-03-13RHSA-2025:2799
Red Hat Enterprise Linux 9.2 Extended Update Supportgrub2-1:2.06-61.el9_2.10Fixed 2025-03-17RHSA-2025:2869
Red Hat Enterprise Linux 9.4 Extended Update Supportgrub2-1:2.06-86.el9_4.2Fixed 2025-03-12RHSA-2025:2675
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202503310142-0Fixed 2025-04-10RHSA-2025:3573
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202504070146-0Fixed 2025-04-17RHSA-2025:3780
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202505141057-0Fixed 2025-05-21RHSA-2025:7702
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202504282058-0Fixed 2025-05-08RHSA-2025:4422
Red Hat OpenShift Container Platform 4.16openshift/ose-rhel-coreos-9:416.94.202503252048-0Fixed 2025-04-03RHSA-2025:3301
Red Hat Enterprise Linux 10grub2Not affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-0624.

References

Check your stackJSON