Critical Pre‑OS Code Execution Flaw (CVE‑2026‑97631) in EDK II UEFI Firmware Threatens Servers
What It Is — A new advisory (CVE‑2026‑97631) reveals a 16‑year‑old buffer‑overflow bug in the PXE‑Base Code driver (NetworkPkg/UefiPxeBcDxe) of the open‑source TianoCore EDK II firmware stack. The flaw (CVSS 9.5 / 10) allows an unauthenticated attacker who can inject oversized ICMP error packets during a PXE boot to write past a 504‑byte buffer, corrupting DXE‑phase memory and executing arbitrary code at ring 0 before the operating system, Secure Boot, or measured boot have a chance to verify the platform’s integrity.
The vulnerability lives in the component that handles network‑boot error messages. Because the driver never enforces the 504‑byte limit, a crafted ICMP packet can overflow the Mode.IcmpError field, moving the destination pointer incorrectly and spilling attacker‑controlled data into adjacent memory. Successful exploitation yields pre‑OS code execution, bypassing hardware‑rooted trust mechanisms such as TPM‑based attestation.
The bug is not limited to a single vendor; EDK II is the foundation for firmware shipped by major UEFI vendors (AMI, Insyde, Phoenix) and is also used in Microsoft’s Project Mu. Any server, storage appliance, or network device that boots via PXE with an EDK II‑based firmware and leaves network boot enabled is potentially vulnerable. End‑user PCs that boot from local disks are largely unaffected.
Researchers originally planned a coordinated disclosure for January 2027, but AMI released a patch in September 2026, prompting TianoCore to publish a public warning. The premature disclosure gives attackers a reference implementation to develop exploits while many organizations still run unpatched firmware. Intel and Arm have stated that their silicon is not directly affected, but OEMs that embed the vulnerable driver could still be at risk.
Exploitation requires the attacker to have some foothold on the local network—either as a malicious insider or as an external actor who has already compromised a machine on the same LAN. The attacker sends a malformed ICMP error to the target’s IP address while the device is in the PXE boot phase. If the firmware version is known, the attacker can craft the overflow to execute shellcode at the highest privilege level, potentially installing persistent boot‑time malware that survives OS reinstallations.
No public incidents of the flaw being weaponized in the wild have been reported yet, and the advisory notes that the vulnerability does not provide an initial remote entry point from the internet. However, the ability to gain kernel‑level control before any OS‑level defenses are active makes the bug a high‑value target for nation‑state and advanced‑persistent‑threat actors seeking to subvert supply‑chain or data‑center environments.
Mitigation guidance from the advisory recommends: (1) applying the firmware updates released by the hardware vendor as soon as possible; (2) disabling PXE/network boot on servers that do not require it; (3) monitoring network traffic for anomalous ICMP error messages during boot; and (4) ensuring TPM and Secure Boot remain enabled, even though they cannot block the pre‑OS execution path.
Affected Products — Firmware built on TianoCore EDK II (including implementations from AMI, Insyde, Phoenix, and Microsoft Project Mu) that uses the PXE‑Base Code driver with network boot enabled.
Why It Matters for Trust & Control Assurance — The flaw tests the control objective of “firmware integrity and secure configuration,” a single control that satisfies requirements across many frameworks (e.g., NIST CSF 2.0, ISO 27001). Demonstrating continuous evidence that firmware is patched and boot‑path settings are hardened is essential for audit readiness.
Recommended Actions
- Inventory all servers, storage devices, and network appliances that use EDK II‑based firmware and have PXE enabled.
- Verify that the vendor‑supplied firmware patch for CVE‑2026‑97631 has been applied; if not, schedule immediate updates.
- Disable network boot on systems that do not require PXE to reduce the attack surface.
- Enable logging of pre‑OS network traffic (e.g., ICMP error messages) and integrate these logs into a SIEM for anomaly detection.
- Document the remediation steps and retain firmware version evidence for audit purposes.
Source: SecurityAffairs – CVE‑2026‑97631