News

Anthropic's Claude Finds 18-Year-Old Remote Code Execution Flaw in EDK II Server Firmware

· Anthropic

Anthropic reports that an unreleased internal Claude research model uncovered CVE-2026-97631, a remote code execution flaw in the PXE network-boot driver of TianoCore's EDK II, the open-source base for most server firmware. The bug dates to 2008 and survived audits, fuzzing and revisions. The vulnerable code runs before Secure Boot, and the flaw is rated 9.5 on CVSS 4.0. Google independently found it at about the same time. Claude also drafted the patch, which maintainers merged on October 15. Anthropic warns that AI shrinks discovery-to-fix time to days while firmware updates still take months to reach deployed machines.

Anthropic has detailed how an unreleased, internal research version of Claude identified a serious vulnerability in EDK II, the TianoCore open-source project that serves as the foundation for much of the world's server firmware. The flaw, tracked as CVE-2026-97631, is a remote code execution bug in the network-boot (PXE) driver. According to Anthropic, its team reproduced the issue on reference firmware in a controlled lab, confirmed code execution with a test harness, and passed along a model-written patch to maintainers during coordinated disclosure. A refined version of that fix was merged into the EDK II reference code on October 15, and TianoCore published its advisory about a week later.

What the flaw is

The bug sits in the code that handles ICMP error messages while a machine boots over the network. The UEFI specification requires the PXE driver to hand ICMP errors back to its caller, and EDK II does so by copying incoming fragments into a fixed 504-byte field. Anthropic describes two mistakes in the copy loop: once the running total passes the limit, the loop copies the overage instead of the remaining space, and the destination pointer is advanced by the cumulative total rather than the length just copied. Either error alone can cause an out-of-bounds write, and both are covered by the same CVE and patch. TianoCore rates the issue 9.5 out of 10 on CVSS 4.0.

Because the code executes before the operating system loads, it operates ahead of Secure Boot protections. The code dates to April 2008 and was present in every EDK II release until the fix, despite audits and fuzzing efforts.

Who can realistically exploit it

The exposure window lasts from when the firmware obtains an IP address until the boot program stops using PXE, typically seconds to a few minutes. The most plausible attacker already controls another host on the same network segment, for example a compromised server awaiting reimaging, and can watch the DHCP exchange to learn the target's address and timing. Since ICMP errors are routable, a poorly isolated provisioning network could expose targets to hosts elsewhere, though those attackers need another way to learn timing. Virtual machines using OVMF, the EDK II firmware for VMs, are reachable by anything on their virtual network. Hanging the boot is straightforward given reach and timing, while achieving code execution requires tailoring the attack to a specific firmware build. Systems booting only from local disk are unaffected. For network-provisioned fleets, the realistic risks are fleet-wide denial of provisioning and pre-OS code execution on machines that are mid-boot.

Why it stayed hidden

Anthropic offers two explanations. First, the NetworkPkg package containing the PXE driver has had no designated owner since mid-2023, and TianoCore labeled it its highest-priority unmaintained package in February 2026. Second, traditional fuzzers, static analyzers and rule-based tools generally need explicit direction about where to look and what to flag. The Claude model reportedly worked more like a human expert: it questioned the logic of an else branch in the copy loop, traced execution for oversized payloads, and considered an abnormally large ICMP error, a case human reviewers often skip because they assume such messages are small. It did this without signatures, crash dumps or test harnesses, systematically evaluating rarely executed paths.

Implications for security audits

Anthropic argues that AI-driven review broadens and deepens coverage, inspecting whole codebases with expert-level scrutiny, including obscure paths that manual audits only sample. It also expands deliverables: the model produced the remediation patch, unit tests, backported fixes and detection rules, turning a bug report into an actionable fix. The company says its disclosure programs have submitted thousands of findings to major open-source projects over the past year. The same capability cuts both ways, since attackers can use comparable tools to find latent bugs in legacy code or to derive exploits from public patches.

Parallel discovery and coordination

Google independently found the same flaw with one of its own models at around the same time, and Anthropic worked with Dan Holmes-Mitra's team to consolidate research and remediation. Anthropic expects such overlapping discoveries to become more common as AI-assisted vulnerability research spreads, making coordination essential to spare maintainers from duplicate reports and competing patches. For disclosure management, Anthropic used the Akrites initiative, established in 2026 by the Linux Foundation, OpenSSF and other partners.

The proposed fix is simple: cap each copy at the space left in the field and advance the pointer only by the bytes actually copied, so oversized messages are truncated. TianoCore developers adjusted it to fit the codebase before merging.

The patch gap

The harder problem is delivery. UEFI firmware is a layered supply chain: TianoCore publishes reference code, silicon vendors wrap it in platform packages, independent BIOS vendors build on those, and OEMs and ODMs produce separate images for each model and BIOS version, sometimes via contractors. Derivatives such as Microsoft's Project Mu, OVMF, and Arm and DPU forks inherit the same files. Each party must determine whether its products include the code, merge the fix, and test thoroughly, because a bad firmware update can leave machines unbootable. Operators then qualify updates and schedule fleet reboots. That is why fixes can take months even when AI compresses discovery and patch development to hours or days.

Until vendor updates arrive, operators who cannot patch firmware themselves can reduce risk by isolating provisioning networks or disabling network boot where it isn't needed. The episode illustrates the central tension Anthropic highlights: AI accelerates defenders and attackers alike, so the bottleneck shifts from finding bugs to shipping fixes.

Referenced links