About
3aik News

Technology

Firmware flaw in most servers lets attackers run code before the OS boots

A leaked fix exposed a 16-year-old bug in EDK II, the code behind most UEFI firmware. Here is who is exposed and what server teams can check today.

Source: Ars Technica, TianoCore

1 read

Written with AI assistance from cited reporting.

Glowing processor chip on a dark server motherboard receiving streams of blue network packets from a cable, with one red packet slipping past a shield outline

TL;DR

Why it matters

CVE-2026-97631 is a 9.5-rated overflow in the EDK II network boot driver used by most UEFI firmware suppliers.

  • CVE-2026-97631 is a 9.5-rated overflow in the EDK II network boot driver used by most UEFI firmware suppliers.
  • An attacker on the network can run ring 0 code during PXE boot, before Secure Boot loads, if the firmware build is known.
  • Machines that boot only from local drives are not exposed; servers that use network boot should get a firmware update or disable PXE.

A bug in the firmware that starts most of the world's servers can let an attacker run code before the operating system or Secure Boot gets a chance to load. Ars Technica reported on Tuesday that the flaw, tracked as CVE-2026-97631, sits in TianoCore EDK II, the shared open source project that cloud operators and hardware vendors draw on when they build UEFI boot firmware. It carries a severity score of 9.5 out of 10. The fix is already public, while most machines in service still lack it.

The fault lives in the driver that handles network boot, a feature known as PXE. According to the TianoCore advisory published on October 22, that driver stores incoming ICMP error messages in a field sized for 504 bytes, yet its length checks are wrong in both the IPv4 and IPv6 handlers. A message larger than that limit spills attacker-chosen bytes into neighboring memory. Ars Technica described it as a buffer overflow that has sat in the code for 16 years.

Reach is what makes this serious for anyone running servers. Ars Technica reported that virtually all firmware suppliers, including AMI, Insyde and Phoenix, lean heavily on the EDK II reference code, and that Microsoft's hardened fork, Project Mu, carried the affected component as well. Code injected at this stage runs in ring 0, the processor's most privileged level, ahead of the checks meant to prove a machine can be trusted. HD Moore, who created Metasploit and is now chief research officer at Dragos, told the outlet an attacker could use it to get at the TPM, which could help defeat disk encryption after brief network access.

The disclosure itself went off schedule. Researchers Alex Matrosov, who works at Anthropic, and Dan Holmes from Google found the flaw and had planned a coordinated release for January, Ars Technica reported. AMI then posted a pull request last month that described the bug and included the fix, and TianoCore issued its public advisory once the discoverers noticed. With working patch code in the open, Ars warned, skilled attackers can study how to trigger the overflow.

Impact has firm limits. The attack only works while a machine is booting over the network, and the attacker must land a unicast ICMP error on its address during that short window. Ars Technica reported that home and small office users who boot from local drives are not affected. Jesse Michael, a principal researcher at Eclypsium, told the outlet that each exploit has to be tuned to a target's model, version and configuration because memory addresses shift between them. Without knowing the firmware build, the advisory says, an attacker can hang the boot but not run code. There is no evidence yet that the bug offers a first way into a network.

Vendor answers are still thin. Intel told Ars Technica that it knows of no affected commercial products that it still supports with security fixes, though board makers may have added the code on their own. Arm said the issue is not directly applicable to its product portfolio. AMD, Phoenix, AMI, Microsoft and Amazon had not replied by publication. The TianoCore advisory still lists the issue as not patched and points to pull request 13302 as the fix.

There is a practical check that needs no special tools. Ask the vendor behind each server's firmware whether it builds on EDK II with PXE switched on, which Ars Technica noted is the default. Where network boot is not needed, consider turning it off for now, as the outlet advised. Keep Secure Boot and the TPM enabled, even though neither blocks this specific attack, and review boot and network logs for unusual ICMP traffic during provisioning. Michael offered one reassurance: unlike BootHole or BlackLotus, this flaw needs only a standard BIOS or UEFI update, with no key revocations to manage.

What happens next depends on how quickly firmware updates reach real hardware. Pushing UEFI fixes across millions of devices from thousands of manufacturers is slow work, according to Ars Technica, and Moore expects the bug to survive as a "forever" flaw in systems that no longer receive support. The January embargo no longer protects anyone. Server teams should start asking their suppliers now.

A separate incident write-up: PHP2Shell: Two old PHP bugs sent the web scrambling to patch.

Questions

Which machines are at risk?

Servers and other devices whose UEFI firmware is built on EDK II and that boot over the network with PXE, which Ars Technica says is on by default. Home and small office machines that start only from their own drives are not affected.

How can an attacker use the flaw?

During a network boot, an oversized ICMP error message sent to the machine overruns a 504-byte buffer. That can hang the boot, and an attacker who knows the exact firmware build can run code in ring 0 before the operating system and Secure Boot start.

What should server teams do now?

Ask each firmware vendor whether its builds use EDK II with PXE enabled and when an update ships. Turn off network boot where it is not needed, keep Secure Boot and the TPM on, and watch boot and network logs for unusual ICMP traffic.