CVE-2025-0624
A flaw was found in grub2. During the network boot process, when …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/errata/RHSA-2025:2521
- access.redhat.com/errata/RHSA-2025:2653
- access.redhat.com/errata/RHSA-2025:2655
- access.redhat.com/errata/RHSA-2025:2675
- access.redhat.com/errata/RHSA-2025:2784
- access.redhat.com/errata/RHSA-2025:2799
- access.redhat.com/errata/RHSA-2025:2867
- access.redhat.com/errata/RHSA-2025:2869
- nvd.nist.gov/vuln/detail/CVE-2025-0624
- cve.org/CVERecord?id=CVE-2025-0624
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.