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.
Published: 2026-12-04
Score: 8.1 High
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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

{'score': 8.1, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}


Subscriptions

Redhat Enterprise Linux Openshift Rhel Els
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-12-04T18:40:00.955Z

Reserved: 2026-09-16T17:35:48.064Z

Link: CVE-2026-92728

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses