Preface: CVE-2026-97631 is a critical buffer overflow vulnerability that has existed for 16 years in the open-source UEFI reference implementation, TianoCore EDK II. Because EDK II is the foundation upon which many hardware and BIOS vendors (including AMI, Insyde, Phoenix, and Microsoft’s Project Mu) build their UEFI firmware, this vulnerability affects a large number of servers, workstations, and client devices worldwide across various CPU architectures (not limited to AMD or Intel).
Background – Vulnerability details: The following instructions require the use of the accompanying infographics (Red callout box 1 (bottom left) and box 4 (center right)).
-The root protocol layer lies within RFC 792 / RFC 729 specifications for ICMP error handling. When a network error occurs, the ICMP error packet must contain the error header followed by the original IP header and the first 8 bytes of the payload.
-The flaw exists directly inside TianoCore EDK II’s network stack—specifically within the PxeBcIcmpErrorDpcHandle function and its IPv6 equivalent.
-If the network stack’s basic sanity check only validates that the packet meets the bare minimum size of the ICMP error header, it creates a fatal assumption.
-An attacker can deliberately craft a malicious ICMP error packet that is exactly 8 bytes long. The EDK II parsing logic passes this initial length check, but downstream routines blindly attempt to read past those 8 bytes to process the nested IP header. Because no secondary length boundary verification occurs, this triggers an out-of-bounds read, resulting in pre-boot information disclosure.
The Compounding Factor: Endianness & Integer Mismatches (Points 2 & 3).
-This out-of-bounds read is compounded drastically by an architectural mismatch in byte ordering. Internet infrastructure naturally moves data in Big-Endian format, whereas standard HPC compute nodes—like x86_64 or ARM64 platforms—interpret memory in Little-Endian.
-When the EDK II firmware extracts the IcmpHeader->Mtu field out-of-bounds, it reads it directly from network byte order into a variable without executing a host conversion step.
-For example, a standard MTU value of 1500 is represented on the wire as hex 0x05DC. When a Little-Endian CPU processes those raw bytes directly, it reverses them to 0xDC05. The firmware suddenly reads the MTU not as 1500, but as 56,325.
-By tricking the system into accepting an impossibly large operational MTU, subsequent buffer allocations or packet fragmentation logic face integer overflows and memory corruption during runtime buffer assembly.
Affected Products and Mitigation: Any AMD ‘Zen’ processors using PXE-booting.
TianoCore released an EDKII patch to mitigate the issue. AMD recommends contacting your OEM for the BIOS update specific to your product(s).
Official announcement (AMD): Please refer to the link for details –
https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7081.html