Skip to content
Fencer Vulns
high 7.6

CVE-2025-0624 json

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

published 2025-02-19 20 mo ago modified 2026-11-04 4 d ago also EUVD-2025-4653

cvss
7.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 72%
public exploits
0
none known

Summary

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.

Patch / fix

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

debian advisories DEBIAN-CVE-2025-0624

  • grub2 RHEL 8 1:2.02-162.el8_10
  • grub2-pc RHEL 8 1:2.02-162.el8_10
  • grub2-tools RHEL 8 1:2.02-162.el8_10
  • grub2-common RHEL 8 1:2.02-162.el8_10
  • grub2-efi-x64 RHEL 8 1:2.02-162.el8_10
  • grub2-ppc64le RHEL 8 1:2.02-162.el8_10
  • grub2-efi-aa64 RHEL 8 1:2.02-162.el8_10
  • grub2-efi-ia32 RHEL 8 1:2.02-162.el8_10

red hat advisories RHSA-2025:3396RHSA-2025:3367RHSA-2025:2869RHSA-2025:2867RHSA-2025:2799RHSA-2025:2784

  • grub2 Linux Micro 6.1 2.12-slfo.1.1_2.1
  • grub2 Linux Micro 6.0 2.12~rc1-6.1
  • grub2 SLE Micro 5.1 2.04-150300.3.11.1
  • grub2 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +2 more 2.04-150300.22.52.3
  • grub2 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +7 more 2.06-150400.11.55.2
  • grub2 SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 2.06-150500.29.43.2
  • grub2 SLE Module for Server Applications 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 2.12-150600.8.18.2
  • grub2 SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 2.02-181.2

suse advisories SUSE-SU-2025:20863-1SUSE-SU-2025:20511-1SUSE-SU-2025:01961-1SUSE-SU-2025:0629-1SUSE-SU-2025:0607-1SUSE-SU-2025:0588-1

  • grub2 openSUSE Tumbleweed 2.12-35.1

opensuse advisories openSUSE-SU-2025:14822-1

  • grub2-pc AlmaLinux 8 1:2.02-162.el8_10.alma.1
  • grub2-tools AlmaLinux 8 1:2.02-162.el8_10.alma.1
  • grub2-common AlmaLinux 8 1:2.02-162.el8_10.alma.1
  • grub2-efi-x64 AlmaLinux 8 1:2.02-162.el8_10.alma.1
  • grub2-ppc64le AlmaLinux 8 1:2.02-162.el8_10.alma.1
  • grub2-efi-aa64 AlmaLinux 8 1:2.02-162.el8_10.alma.1
  • grub2-efi-ia32 AlmaLinux 8 1:2.02-162.el8_10.alma.1
  • grub2-tools-efi AlmaLinux 8 1:2.02-162.el8_10.alma.1

almalinux advisories ALSA-2025:3367ALSA-2025:2867

  • grub2 Rocky Linux 8 1:2.02-162.el8_10.rocky.0.1
  • grub2 Rocky Linux 9 1:2.06-94.el9_5

rocky linux advisories RLSA-2025:3367RLSA-2025:2867

  • grub2 CBL-Mariner 2.0 2.06-14
  • grub2 Azure Linux 3.0 2.06-24

azure linux advisories AZL-56997AZL-57049

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-0624 updated cvss 7.6

grub2: net: Out-of-bounds write in grub_net_search_config_file()

  • Red Hat Enterprise Linux BaseOS (v. 8) grub2 2.02-162.el8_10, grub2-pc 2.02-162.el8_10, grub2-tools 2.02-162.el8_10, grub2-common 2.02-162.el8_10, grub2-efi-x64 2.02-162.el8_10, grub2-ppc64le 2.02-162.el8_10, +13 more
    fixed: vendor fix RHSA-2025:3367
  • Red Hat Enterprise Linux BaseOS (v. 9) grub2 2.06-94.el9_5, grub2-pc 2.06-94.el9_5, grub2-tools 2.06-94.el9_5, grub2-common 2.06-94.el9_5, grub2-efi-x64 2.06-94.el9_5, grub2-ppc64le 2.06-94.el9_5, +10 more
    fixed: vendor fix RHSA-2025:2867
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) grub2 2.02-87.el8_2.13, grub2-pc 2.02-87.el8_2.13, grub2-tools 2.02-87.el8_2.13, grub2-common 2.02-87.el8_2.13, grub2-efi-x64 2.02-87.el8_2.13, grub2-efi-ia32 2.02-87.el8_2.13, +10 more
    fixed: vendor fix RHSA-2025:2784
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) grub2 2.02-99.el8_4.12, grub2-pc 2.02-99.el8_4.12, grub2-tools 2.02-99.el8_4.12, grub2-common 2.02-99.el8_4.12, grub2-efi-x64 2.02-99.el8_4.12, grub2-efi-ia32 2.02-99.el8_4.12, +10 more
    fixed: vendor fix RHSA-2025:2655
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) grub2 2.02-123.el8_6.18, grub2-pc 2.02-123.el8_6.18, grub2-tools 2.02-123.el8_6.18, grub2-common 2.02-123.el8_6.18, grub2-efi-x64 2.02-123.el8_6.18, grub2-efi-ia32 2.02-123.el8_6.18, +10 more
    fixed: vendor fix RHSA-2025:2653
  • Red Hat Enterprise Linux BaseOS E4S (v.8.4) grub2 2.02-99.el8_4.12, grub2-pc 2.02-99.el8_4.12, grub2-tools 2.02-99.el8_4.12, grub2-common 2.02-99.el8_4.12, grub2-efi-x64 2.02-99.el8_4.12, grub2-ppc64le 2.02-99.el8_4.12, +11 more
    fixed: vendor fix RHSA-2025:2655
  • Red Hat Enterprise Linux BaseOS E4S (v.8.6) grub2 2.02-123.el8_6.18, grub2-pc 2.02-123.el8_6.18, grub2-tools 2.02-123.el8_6.18, grub2-common 2.02-123.el8_6.18, grub2-efi-x64 2.02-123.el8_6.18, grub2-ppc64le 2.02-123.el8_6.18, +13 more
    fixed: vendor fix RHSA-2025:2653
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) grub2 2.06-27.el9_0.22, grub2-pc 2.06-27.el9_0.22, grub2-tools 2.06-27.el9_0.22, grub2-common 2.06-27.el9_0.22, grub2-efi-x64 2.06-27.el9_0.22, grub2-ppc64le 2.06-27.el9_0.22, +10 more
    fixed: vendor fix RHSA-2025:2799
show 14 more
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) grub2 2.02-152.el8_8.2, grub2-pc 2.02-152.el8_8.2, grub2-tools 2.02-152.el8_8.2, grub2-common 2.02-152.el8_8.2, grub2-efi-x64 2.02-152.el8_8.2, grub2-ppc64le 2.02-152.el8_8.2, +13 more
    fixed: vendor fix RHSA-2025:2521
  • Red Hat Enterprise Linux BaseOS EUS (v.9.2) grub2 2.06-61.el9_2.10, grub2-pc 2.06-61.el9_2.10, grub2-tools 2.06-61.el9_2.10, grub2-common 2.06-61.el9_2.10, grub2-efi-x64 2.06-61.el9_2.10, grub2-ppc64le 2.06-61.el9_2.10, +10 more
    fixed: vendor fix RHSA-2025:2869
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) grub2 2.06-86.el9_4.2, grub2-pc 2.06-86.el9_4.2, grub2-tools 2.06-86.el9_4.2, grub2-common 2.06-86.el9_4.2, grub2-efi-x64 2.06-86.el9_4.2, grub2-ppc64le 2.06-86.el9_4.2, +10 more
    fixed: vendor fix RHSA-2025:2675
  • Red Hat Enterprise Linux BaseOS TUS (v.8.4) grub2 2.02-99.el8_4.12, grub2-pc 2.02-99.el8_4.12, grub2-tools 2.02-99.el8_4.12, grub2-common 2.02-99.el8_4.12, grub2-efi-x64 2.02-99.el8_4.12, grub2-efi-ia32 2.02-99.el8_4.12, +10 more
    fixed: vendor fix RHSA-2025:2655
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) grub2 2.02-123.el8_6.18, grub2-pc 2.02-123.el8_6.18, grub2-tools 2.02-123.el8_6.18, grub2-common 2.02-123.el8_6.18, grub2-efi-x64 2.02-123.el8_6.18, grub2-efi-ia32 2.02-123.el8_6.18, +10 more
    fixed: vendor fix RHSA-2025:2653
  • Red Hat Enterprise Linux Server (v. 7 ELS) grub2 2.02-0.87.el7_9.15, grub2-pc 2.02-0.87.el7_9.15, grub2-ppc64 2.02-0.87.el7_9.15, grub2-tools 2.02-0.87.el7_9.15, grub2-common 2.02-0.87.el7_9.15, grub2-efi-x64 2.02-0.87.el7_9.15, +9 more Red Hat Enterprise Linux Server Optional (v. 7 ELS) grub2-pc-modules 2.02-0.87.el7_9.15, grub2-ppc-modules 2.02-0.87.el7_9.15, grub2-ppc64-modules 2.02-0.87.el7_9.15, grub2-efi-x64-cdboot 2.02-0.87.el7_9.15, grub2-efi-ia32-cdboot 2.02-0.87.el7_9.15, grub2-efi-x64-modules 2.02-0.87.el7_9.15, +2 more
    fixed: vendor fix RHSA-2025:3396
  • Red Hat OpenShift Container Platform 4.12 rhcos 412.86.202503310142-0
    fixed: vendor fix RHSA-2025:3573
  • Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202504070146-0
    fixed: vendor fix RHSA-2025:3780
  • Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202505141057-0
    fixed: vendor fix RHSA-2025:7702
  • Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202504282058-0
    fixed: vendor fix RHSA-2025:4422
  • Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202503252048-0
    fixed: vendor fix RHSA-2025:3301
  • Red Hat OpenShift Container Platform 4.17 rhcos 417.94.202503241418-0
    fixed: vendor fix RHSA-2025:3297
  • Red Hat OpenShift Container Platform 4.18 rhcos 418.94.202504021150-0
    fixed: vendor fix RHSA-2025:3577
  • Red Hat Enterprise Linux 10 grub2 Red Hat OpenShift Container Platform 4.12 openshift4/ose-cli v4.12.0-202503181728.p0.gd691257.assembly.stream.el8, openshift4/ose-pod v4.12.0-202503181728.p0.g1eb8682.assembly.stream.el8, openshift4/ose-etcd v4.12.0-202503181728.p0.gbb82e89.assembly.stream.el8, openshift4/ose-tests v4.12.0-202503310133.p0.g893161e.assembly.stream.el8, openshift4/ose-console v4.12.0-202503181728.p0.g3b4ac6a.assembly.stream.el8, openshift4/ose-coredns v4.12.0-202503181728.p0.gcc1194e.assembly.stream.el8, +185 more Red Hat OpenShift Container Platform 4.13 openshift4/ose-cli v4.13.0-202503310300.p0.gd192e90.assembly.stream.el8, openshift4/ose-pod v4.13.0-202503310300.p0.g53fd427.assembly.stream.el8, openshift4/ose-tests v4.13.0-202504020129.p0.g12c3aa1.assembly.stream.el8, openshift4/ose-console v4.13.0-202504071758.p0.g6fd4a6d.assembly.stream.el8, openshift4/ose-coredns v4.13.0-202503310300.p0.ge70f097.assembly.stream.el8, openshift4/ose-deployer v4.13.0-202503310300.p0.gd192e90.assembly.stream.el8, +186 more Red Hat OpenShift Container Platform 4.14 openshift4/ose-tests v4.14.0-202505140038.p0.g61448fa.assembly.stream.el8, openshift4/ose-console v4.14.0-202505140038.p0.g1a760fb.assembly.stream.el8, openshift4/ose-installer v4.14.0-202504282038.p0.gd92ca63.assembly.stream.el8, openshift4/ose-sdn-rhel8 v4.14.0-202505061308.p0.g1f611c5.assembly.stream.el8, openshift4/ose-etcd-rhel9 v4.14.0-202504281009.p0.g5ed5044.assembly.stream.el9, openshift4/ose-kube-proxy v4.14.0-202505061308.p0.g1f611c5.assembly.stream.el8, +26 more Red Hat OpenShift Container Platform 4.15 openshift4/ose-cli v4.15.0-202504220035.p0.g8231637.assembly.stream.el8, openshift4/ose-tests v4.15.0-202504220035.p0.g7358b02.assembly.stream.el8, openshift4/ose-console v4.15.0-202504281408.p0.gfb0b085.assembly.stream.el8, openshift4/ose-deployer v4.15.0-202504220035.p0.g8231637.assembly.stream.el8, openshift4/ose-installer v4.15.0-202504241905.p0.g2d2704c.assembly.stream.el8, openshift4/ose-pod-rhel9 v4.15.0-202504281408.p0.gf383677.assembly.stream.el9, +187 more Red Hat OpenShift Container Platform 4.16 openshift4/ose-cli-rhel9 v4.16.0-202503121138.p0.gee354f6.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.16.0-202503121138.p0.g7cf4c05.assembly.stream.el9, openshift4/ose-sdn-rhel9 v4.16.0-202503121138.p0.gcbddb0b.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.16.0-202503121138.p0.ge7911c0.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.16.0-202503260136.p0.gde619ec.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.16.0-202503260136.p0.gee354f6.assembly.stream.el9, +185 more
    +2 more products
    Red Hat OpenShift Container Platform 4.17 openshift4/frr-rhel9 v4.17.0-202503251509.p0.gc30988b.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.17.0-202503210032.p0.g0000b3e.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.17.0-202503210032.p0.g98fe569.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.17.0-202503250204.p0.g0d9e0a9.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.17.0-202503260139.p0.g4a06fd3.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.17.0-202503260139.p0.g0000b3e.assembly.stream.el9, +180 more Red Hat OpenShift Container Platform 4.18 openshift4/frr-rhel9 v4.18.0-202504021503.p0.g78714ea.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.18.0-202504021503.p0.geb9bc9b.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.18.0-202504021503.p0.g97471c6.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.18.0-202504021503.p0.g98b1915.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.18.0-202504021503.p0.g6df37be.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.18.0-202504021503.p0.geb9bc9b.assembly.stream.el9, +179 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
13 mo ago

Exploit prediction

1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.6 CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected products

  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
  • Red Hat Red Hat OpenShift Container Platform 4.12
  • Red Hat Red Hat OpenShift Container Platform 4.13
  • Red Hat Red Hat OpenShift Container Platform 4.14
  • Red Hat Red Hat OpenShift Container Platform 4.15
  • Red Hat Red Hat OpenShift Container Platform 4.16
  • Red Hat Red Hat OpenShift Container Platform 4.17
  • Red Hat Red Hat OpenShift Container Platform 4.18
  • Red Hat Red Hat Enterprise Linux 10

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.