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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the 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.
References
History
Fri, 04 Dec 2026 18:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Grub2: heap out-of-bounds write in grub2 dns response parsing due to reparse accumulation in recv_hook | |
| First Time appeared |
Redhat
Redhat enterprise Linux Redhat openshift Redhat rhel Els |
|
| Weaknesses | CWE-787 | |
| CPEs | cpe:/a:redhat:openshift:4 cpe:/a:redhat:openshift:5 cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:9 cpe:/o:redhat:rhel_els:7 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux Redhat openshift Redhat rhel Els |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2026-12-04T18:40:00.955Z
Reserved: 2026-09-16T17:35:48.064Z
Link: CVE-2026-92728
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses