Grub2: net: out-of-bounds write in grub_net_search_config_file()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- grub2
through 2.12
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- grub2
Version range not reported
- openshift/ose-rhel-coreos-8
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- grub2
Version range not reported
References 19
access.redhat.com
- errata/RHSA-2025:2521
- errata/RHSA-2025:2653
- errata/RHSA-2025:2655
- errata/RHSA-2025:2675
- errata/RHSA-2025:2784
- errata/RHSA-2025:2799
- errata/RHSA-2025:2867
- errata/RHSA-2025:2869
- errata/RHSA-2025:3297
- errata/RHSA-2025:3301
- errata/RHSA-2025:3367
- errata/RHSA-2025:3396
- errata/RHSA-2025:3573
- errata/RHSA-2025:3577
- errata/RHSA-2025:3780
- errata/RHSA-2025:4422
- errata/RHSA-2025:7702
- security/cve/CVE-2025-0624