CVE-2026-92728
Description
A heap out-of-bounds write flaw was found in GRUB2's DNS response parser. In recv_hook() (grub-core/net/dns.c), the address array is allocated from the DNS answer count (ancount), but A/AAAA appends across CNAME-triggered reparses do not check that capacity. The power-of-two CNAME cycle detector can lag for non-power-of-two cycle periods, allowing naddresses to exceed ancount and write past the allocated heap buffer when GRUB performs DNS resolution during boot.
Statement
This issue has been rated as Important. Caching ancount and rejecting further A/AAAA appends once naddresses reaches that bound prevents the heap overflow. Exploitation requires adjacent-network influence over DNS replies on a GRUB path that performs name resolution. Default local-disk boot that never enables GRUB networking does not reach this code.
Mitigation
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.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 8.1 | N/A | N/A |
| Attack Vector | Adjacent Network | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | None | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | High | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Red Hat CVSS v3 Score Explanation
Adjusted C:L→C:N (no confidentiality impact shown); I:H retained for controlled-content heap overwrite.
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Acknowledgements
Red Hat would like to thank Aisle Research, Andrew Hamilton, Dickson Wu, Shubham Antil (Octane Security), Yasuaki Torimaru, and aniziki for reporting this issue.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.