Summary
GRUB2's DNS response parser (recv_hook() in grub-core/net/dns.c) contains a heap out-of-bounds write (CWE-787). The address array is sized from the DNS answer count (ancount), but A/AAAA records appended across CNAME-triggered reparses are not checked against that capacity. The power-of-two CNAME cycle detector can lag for cycle lengths that are not powers of two, letting the number of addresses exceed ancount and write past the allocated buffer.
Per the CVSS vector (8.1, high), the attack is launched from an adjacent network (same network segment), with low complexity, no authentication and no user interaction. The vulnerable code is only reached when GRUB performs DNS resolution during boot.
Successful exploitation has high impact on integrity and availability: an attacker able to deliver malicious DNS responses can corrupt GRUB memory during boot, preventing the system from booting or influencing the boot process. The flaw is not listed in CISA KEV and no EPSS data is available.
Who is affected
Organizations running Red Hat Enterprise Linux 7, 8, 9 and 10 and Red Hat OpenShift Container Platform 4 and 5, especially systems that network-boot (e.g. PXE/HTTP boot) with DNS resolution inside GRUB.
What to do
- Monitor the official Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-92728), as fixed grub2 package versions are not listed in the record; apply the update as soon as it is available.
- Vendor workaround: avoid GRUB-time DNS resolution where practical – use numeric IP addresses in network boot configuration.
- On systems that do not need network boot, do not enable GRUB networking or perform DNS lookups in GRUB; such boot paths do not reach the vulnerable code.
- Check exposure: review grub.cfg and PXE/HTTP boot configurations for hostnames used instead of IP addresses.
- Restrict access to boot network segments (isolated VLANs, protection against rogue DHCP/DNS servers) so adjacent attackers cannot inject malicious DNS responses.
Vendor workaround
Avoid GRUB-time DNS resolution where practical. Boot paths that use numeric addresses, or that never enable GRUB networking and never perform DNS lookups in GRUB, do not reach this code path.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Attack vector
- Adjacent network
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-787 Out-of-bounds Write
References
- access.redhat.com/security/cve/CVE-2026-92728
- bugzilla.redhat.com/show_bug.cgi?id=2465375
- github.com/aniziki/grub2boot
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.