AI Finds 18-Year-Old Firmware Flaw in EDK II PXE Code

Anthropic says an internal model found CVE-2026-97631, a 9.5-rated pre-boot RCE in EDK II that survived 18 years of audits, with a fix already merged.

@sharedot

AI Finds 18-Year-Old Firmware Flaw in EDK II PXE Code

By @sharedot · · 6 pages

  • Programming
  • Security
  • Firmware
  • Open Source

Anthropic says an internal model found CVE-2026-97631, a 9.5-rated pre-boot RCE in EDK II that survived 18 years of audits, with a fix already merged.

The flaw: code execution before the OS loads

Anthropic reports that in early September an unreleased internal research model analyzing the networking code in TianoCore EDK II — the open-source project underpinning most server firmware — identified CVE-2026-97631, a remote code execution flaw in the PXE network-boot driver.

The vulnerable code dates to April 2008 and runs before the operating system loads and before Secure Boot can block untrusted software. TianoCore rates it 9.5 out of 10, or Critical, under CVSS 4.0.

An unauthenticated attacker who delivers a crafted ICMP error message while a machine boots over the network can corrupt firmware memory and execute code in the pre-boot environment.

The two-line bug that beat 18 years of auditing

The bug lives in a copy loop that copies incoming ICMP errors into a fixed 504-byte field (Mode.IcmpError).

Per Anthropic, it contains two coding errors: once the running total exceeds 504 bytes the loop copies the overshoot rather than the space that fits, and the destination pointer advances by the running total rather than the length just copied. Either error alone writes past the field.

unite.ai notes the code survived four maintainer revisions, dedicated security audits and fuzzing — partly because NetworkPkg has had no designated owner since mid-2023 and was named TianoCore's highest-priority unmaintained package in February 2026.

Google's team found the same flaw independently at nearly the same time.

A patch merged, but devices wait months

Claude generated a patch that Anthropic's team verified and shared with maintainers; TianoCore merged a refined fix into the EDK II reference code on October 15 and published its advisory on October 22.

But the upstream fix does not mean installed fixes: UEFI firmware is a layered supply chain — TianoCore reference code, silicon vendor platform packages, independent BIOS vendors, then OEM/ODM device-specific images — with Microsoft's Project Mu, OVMF and Arm forks also inheriting the affected files.

According to unite.ai, Anthropic is coordinating with TianoCore and vendors including AMI, Insyde, AMD, Intel, Dell and Supermicro, and expects downstream distribution to take months.

What operators should do now

Systems that boot exclusively from local disk are unaffected; exposure is limited to machines booting over the network via PXE, including virtual machines using OVMF firmware, during a window of seconds to a few minutes per boot.

Because most operators cannot patch firmware themselves, both pack sources report the recommended interim controls are isolating provisioning networks and disabling network boot where it is not needed.

The parallel discovery was handled through Akrites, a 2026 initiative from the Linux Foundation, OpenSSF, Anthropic and Google built to triage the growing volume of AI-assisted reports.

unite.ai also notes Anthropic's disclosure dashboard lists 5,087 vulnerabilities disclosed across 680 open-source projects, with 629 patched upstream.

Sources

  1. anthropic.com › Finding and fixing an 18-year-old vulnerability in server firmware
  2. unite.ai › Anthropic Model Finds 18-Year-Old Pre-Boot Firmware Flaw

More on Programming