Grub2: heap out-of-bounds write in grub2 dns response parsing due to reparse accumulation in recv_hook
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | affected | — |
| Red Hat | Red Hat Enterprise Linux 7 | affected | — |
| Red Hat | Red Hat Enterprise Linux 8 | affected | — |
| Red Hat | Red Hat Enterprise Linux 9 | affected | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | affected | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | affected | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | affected | — |
No data.
No data.
No data available yet.
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.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| 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
|
No data.
No data.
No data.
No data.