CVE-2025-0624

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.

Affected Software

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

Weaknesses

  • CWE-787: Out-of-bounds Write

Workarounds

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.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

CVE Program Container

Additional References

References