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.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H · Attack vector: Adjacent NetworkA short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
Affected products appear after NVD analysis.