Grub2: net: out-of-bounds write in grub_net_search_config_file()
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-0624
Credits & Attribution
No credits recorded in the NVD database.
References
- https://access.redhat.com/errata/RHSA-2025:2521
- https://access.redhat.com/errata/RHSA-2025:2653
- https://access.redhat.com/errata/RHSA-2025:2655
- https://access.redhat.com/errata/RHSA-2025:2675
- https://access.redhat.com/errata/RHSA-2025:2784
- https://access.redhat.com/errata/RHSA-2025:2799
- https://access.redhat.com/errata/RHSA-2025:2867
- https://access.redhat.com/errata/RHSA-2025:2869
- https://access.redhat.com/errata/RHSA-2025:3297
- https://access.redhat.com/errata/RHSA-2025:3301
- https://access.redhat.com/errata/RHSA-2025:3367
- https://access.redhat.com/errata/RHSA-2025:3396
- https://access.redhat.com/errata/RHSA-2025:3573
- https://access.redhat.com/errata/RHSA-2025:3577
- https://access.redhat.com/errata/RHSA-2025:3780
- https://access.redhat.com/errata/RHSA-2025:4422
- https://access.redhat.com/errata/RHSA-2025:7702
- https://access.redhat.com/security/cve/CVE-2025-0624
- https://bugzilla.redhat.com/show_bug.cgi?id=2346112
More from Unknown
View All →Affected Vendor
Unknown
View all reports →