Skip to content
VulniPulse
High7.6Red Hat Linux

High [CVE-2025-0624] Grub2: net: out-of-bounds write in grub_net_search_config_file

This high-severity Red Hat Linux advisory covers CVE-2025-0624 affecting Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support.

CVE-2025-0624 Published Feb 19, 2025Updated by vendor Feb 18, 2025
Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

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.

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 severity: Important — CVSS 7.6 (CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H).

Weakness: CWE-787.

Affected products named by the advisory: Red Hat Enterprise Linux 7 Extended Lifecycle Support; Red Hat Enterprise Linux 8.2 Advanced Update Support; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support; Red Hat Enterprise Linux 8.4 Telecommunications Update Service; and 16 more.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 1 hour ago·verify at source

Fixed versions
  • grub2-1:2.02-0.87.el7_9.15
  • grub2-1:2.02-162.el8_10
  • grub2-1:2.02-87.el8_2.13
  • grub2-1:2.02-99.el8_4.12
  • grub2-1:2.02-123.el8_6.18
  • grub2-1:2.02-152.el8_8.2
  • grub2-1:2.06-94.el9_5
  • grub2-1:2.06-27.el9_0.22
  • grub2-1:2.06-61.el9_2.10
  • grub2-1:2.06-86.el9_4.2
  • rhcos-412.86.202503310142-0
  • rhcos-413.92.202504070146-0
  • rhcos-414.92.202505141057-0
  • rhcos-415.92.202504282058-0
  • rhcos-416.94.202503252048-0
  • rhcos-417.94.202503241418-0
  • rhcos-418.94.202504021150-0
  • RHSA-2025:3396
  • RHSA-2025:3367
  • RHSA-2025:2784
  • RHSA-2025:2655
  • RHSA-2025:2653
  • RHSA-2025:2521
  • RHSA-2025:2867
  • RHSA-2025:2799
  • RHSA-2025:2869
  • RHSA-2025:2675
  • RHSA-2025:3573
  • RHSA-2025:3780
  • RHSA-2025:7702
  • RHSA-2025:4422
  • RHSA-2025:3301
  • RHSA-2025:3297
  • RHSA-2025:3577

Official advisory · high-confidence parse· fetched 1 hour ago·verify at source

Mitigation checklist

Recommended fix / 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.

Official advisory · high-confidence parse· fetched 1 hour ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.