Threat intel5 min read
EDK II network-boot flaw found by AI sat in firmware for 18 years
CVE-2026-97631, a 9.5-rated heap overflow in EDK II's PXE driver, lets an attacker run code before the OS and Secure Boot load. The code fix is out; server firmware updates will take months.
4Tify Team

A heap overflow in the network-boot driver of EDK II, the open-source code many hardware makers build their UEFI firmware on, lets an attacker on the network run code on a machine before its operating system starts. The flaw is tracked as CVE-2026-97631 and rated 9.5 (Critical) under CVSS 4.0. The source fix has been public since October. Patched firmware for real hardware is still arriving one model at a time.
Two teams found it with AI. Anthropic said on 30 November that an unreleased internal research model spotted the bug in early September while reading EDK II's networking code. A Google team found the same flaw independently with its own AI models. The TianoCore advisory credits Alex Matrosov of Anthropic and Dan Holmes-Mitra of Google.
What happened
TianoCore, the project that maintains EDK II, published its advisory on 22 October. The bug sits in the PXE Base Code driver (NetworkPkg/UefiPxeBcDxe), the part of the firmware that lets a machine load its operating system over the network instead of from a local disk.
The faulty copy loop was committed in April 2008, so the flaw shipped in every EDK II release for about 18 years. NetworkPkg has had no designated maintainer since mid-2023. In February 2026 TianoCore named it the highest-priority package without an owner. The nine PixieFail bugs disclosed in January 2024 were in the same package.
Anthropic says its model also wrote a patch, unit tests, backports and detection rules, which its researchers checked before the fix went to the maintainers. A refined version of the fix was merged on 15 October.
How it works
While a machine boots over PXE, the driver listens for ICMP and ICMPv6 error messages and copies each one into a fixed 504-byte field. The bounds handling is wrong in both handlers. Longer messages are copied anyway and spill into the memory next to the field.
The attacker needs no credentials. They only have to deliver a unicast ICMP error to the machine's IP address while it is network-booting. The certain result is a crash that hangs the boot. An attacker who knows the exact firmware build can go further and run their own code at ring 0, in the DXE phase. That happens before Secure Boot and measured boot check the OS loader, so Secure Boot does not stop it.
The most realistic attacker sits on the same network segment as the booting machine. Hosts on other subnets can reach it too if the provisioning network is not isolated. Virtual machines that run OVMF firmware are exposed to anything on their virtual network.
Who is affected
Any firmware built from EDK II that has PXE enabled and actually boots from the network. That includes many physical servers and virtual machines on OVMF. Machines that boot only from a local disk are not exposed through this path.
The upstream fix is in edk2-stable202611, released on 23 November. Its release notes don't mention the bug, and the TianoCore advisory still listed no patched version at the time of writing. Distributions that ship edk2 for virtual machines are at different stages:
- Amazon Linux 2 shipped a fix on 30 October. Amazon Linux 2023 is not affected.
- Debian has the fix in unstable. Bookworm, trixie and forky still carry vulnerable packages.
- Ubuntu rates it Medium and lists every release as "Needs evaluation".
- Red Hat rates it Critical.
An edk2 package update fixes VM firmware only. It does not touch the BIOS of a physical server, which needs a firmware update from the hardware maker, built and signed for each model. Anthropic estimates that critical UEFI fixes have taken 6 to 12 months or more to reach deployed machines.
CISA has not added the flaw to its Known Exploited Vulnerabilities catalog, and no exploitation has been reported so far. The technical details are in the NVD entry.
What to do now
- List the machines that boot from the network: provisioning, reimaging, diskless and lab systems, plus VMs on OVMF.
- Turn off PXE in the firmware where you don't need it, and put the local disk first in the boot order.
- Keep provisioning networks isolated and limit which hosts can send traffic into them.
- Watch your server maker's security bulletins for BIOS updates that name CVE-2026-97631, and plan the reboots.
- Update edk2 and OVMF packages on hypervisor hosts as your distribution releases fixes.
An isolated provisioning network protects you only if the isolation really holds. In a penetration test, our team checks whether a host elsewhere in your network can reach the segments your servers boot from, and what else is exposed along the way.
