High severity7.6NVD Advisory· Published Feb 19, 2025· Updated Jun 29, 2026
CVE-2025-0624
CVE-2025-0624
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
49- osv-coords47 versionspkg:rpm/almalinux/grub2-commonpkg:rpm/almalinux/grub2-efi-aa64pkg:rpm/almalinux/grub2-efi-aa64-cdbootpkg:rpm/almalinux/grub2-efi-aa64-modulespkg:rpm/almalinux/grub2-efi-ia32pkg:rpm/almalinux/grub2-efi-ia32-cdbootpkg:rpm/almalinux/grub2-efi-ia32-modulespkg:rpm/almalinux/grub2-efi-x64pkg:rpm/almalinux/grub2-efi-x64-cdbootpkg:rpm/almalinux/grub2-efi-x64-modulespkg:rpm/almalinux/grub2-pcpkg:rpm/almalinux/grub2-pc-modulespkg:rpm/almalinux/grub2-ppc64lepkg:rpm/almalinux/grub2-ppc64le-modulespkg:rpm/almalinux/grub2-toolspkg:rpm/almalinux/grub2-tools-efipkg:rpm/almalinux/grub2-tools-extrapkg:rpm/almalinux/grub2-tools-minimalpkg:rpm/opensuse/grub2&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/grub2&distro=openSUSE%20Tumbleweedpkg:rpm/suse/grub2&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/grub2&distro=SUSE%20Linux%20Micro%206.1pkg:rpm/suse/grub2&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/grub2&distro=SUSE%20Manager%20Proxy%20Module%204.3pkg:rpm/suse/grub2&distro=SUSE%20Manager%20Server%204.3pkg:rpm/suse/grub2&distro=SUSE%20Manager%20Server%20Module%204.3
< 1:2.06-94.el9_5.alma.1+ 46 more
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.02-162.el8_10.alma.1
- (no CPE)range: < 1:2.02-162.el8_10.alma.1
- (no CPE)range: < 1:2.02-162.el8_10.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 1:2.06-94.el9_5.alma.1
- (no CPE)range: < 2.12-150600.8.18.2
- (no CPE)range: < 2.12-35.1
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.04-150300.3.11.1
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.12-150600.8.18.2
- (no CPE)range: < 2.12-150600.8.18.2
- (no CPE)range: < 2.02-181.2
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.04-150300.22.52.3
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150500.29.43.2
- (no CPE)range: < 2.02-181.2
- (no CPE)range: < 2.12~rc1-6.1
- (no CPE)range: < 2.12-slfo.1.1_2.1
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
- (no CPE)range: < 2.06-150400.11.55.2
Patches
Vulnerability mechanics
References
20- access.redhat.com/errata/RHSA-2025:2521nvd
- access.redhat.com/errata/RHSA-2025:2653nvd
- access.redhat.com/errata/RHSA-2025:2655nvd
- access.redhat.com/errata/RHSA-2025:2675nvd
- access.redhat.com/errata/RHSA-2025:2784nvd
- access.redhat.com/errata/RHSA-2025:2799nvd
- access.redhat.com/errata/RHSA-2025:2867nvd
- access.redhat.com/errata/RHSA-2025:2869nvd
- access.redhat.com/errata/RHSA-2025:3297nvd
- access.redhat.com/errata/RHSA-2025:3301nvd
- access.redhat.com/errata/RHSA-2025:3367nvd
- access.redhat.com/errata/RHSA-2025:3396nvd
- access.redhat.com/errata/RHSA-2025:3573nvd
- access.redhat.com/errata/RHSA-2025:3577nvd
- access.redhat.com/errata/RHSA-2025:3780nvd
- access.redhat.com/errata/RHSA-2025:4422nvd
- access.redhat.com/errata/RHSA-2025:7702nvd
- access.redhat.com/security/cve/CVE-2025-0624nvd
- bugzilla.redhat.com/show_bug.cginvd
- security.netapp.com/advisory/ntap-20250516-0006/nvd
News mentions
0No linked articles in our index yet.