TianoCore EDK2 flaw CVE-2026-97631 enables pre-boot code execution and Secure Boot bypass
TL;DR
TianoCore's EDK2 contains a critical flaw, CVE-2026-97631, that allows attackers to bypass Secure Boot. If a machine is booting over a network via PXE, an unauthenticated attacker can execute arbitrary code before the operating system even loads. Update your system BIOS/firmware immediately using vendor-provided builds.
What happened
Researchers from Google and Anthropic independently discovered an 18-year-old buffer overflow vulnerability in the EDK2 NetworkPkg package. The flaw exists in the UefiPxeBcDxe driver, which handles PXE network booting for both IPv4 and IPv6.
An attacker can send oversized ICMP error messages to a machine while it is performing a network boot. Because the driver incorrectly calculates buffer sizes, these messages overflow a fixed 504-byte memory field. This can either crash the system or, if the attacker knows the specific firmware build, allow them to patch signature checks in memory to boot unsigned operating systems, effectively bypassing Secure Boot. While a code fix was merged into the EDK2 source tree on October 15, hardware vendors must still package and distribute these updates through their own firmware builds.
Why it matters
This is a high-priority threat because it strikes at the very beginning of the boot process, before any OS-level security controls can initialize. By gaining execution in the DXE phase, an attacker achieves ring 0 access and can establish hardware-level persistence that is extremely difficult to detect. The window of exploitation is narrow, only occurring during the PXE boot sequence, but the impact is total. Because the NetworkPkg has lacked a designated maintainer since mid-2023, the time between a fix being merged and it reaching actual production servers could be several months.
Who is affected
- TianoCore EDK2: Specifically the
NetworkPkg/UefiPxeBcDxedriver. - HPE: ProLiant Gen10 through Gen12, Synergy, Apollo, and Alletra models (Fixed via BIOS builds dated November 11 to 13).
- Supermicro: Various boards across Intel, AMD, and Ampere lines (Check vendor BIOS advisory for specific versions).
- Amazon Linux: Version 2 (Fixed on October 30; Amazon Linux 2023 is not affected).
- Debian: Fixed in development branch; stable releases remain vulnerable.
- Ubuntu: Status currently listed as "Needs evaluation."
What to do now
- Update system BIOS/firmware using specific, fixed builds provided by your hardware vendor (e.g., HPE or Supermicro).
- Disable PXE boot on any machines where network booting is not strictly required for provisioning or recovery.
- Isolate provisioning networks to ensure they are not reachable from untrusted or external networks.
- Filter oversized ICMP error messages directed at machines currently undergoing a boot sequence.
What we don't know yet
- Whether this vulnerability has been exploited in the wild.
- The total number of physical servers globally currently running vulnerable firmware.
- The specific firmware builds and patch status for other hardware vendors not listed in current advisories.
Sources
- thehackernews.comhttps://thehackernews.com/2026/12/google-and-anthropic-ai-found-18-year.html
- github.comhttps://github.com/tianocore/edk2/security/advisories/GHSA-99cj-7hg9-mp4m
- github.comhttps://github.com/tianocore/edk2/releases/tag/edk2-stable202611
- access.redhat.comhttps://access.redhat.com/security/cve/cve-2026-97631
