Skip to main content

Alex Matrosov

In early September, we used an unreleased, internal research model to analyze the networking code in EDK II, an open-source project that underpins most server firmware, and identified a security flaw, CVE-2026-97631. Our team reproduced the vulnerability on reference firmware in a controlled lab environment and confirmed code execution using a test harness. Alongside these findings, Claude developed a patch, which our team verified and shared with EDK II’s maintainers during the disclosure process. They merged a refined version into the EDK II reference code on October 15.

CVE-2026-97631 is a remote code execution flaw in the TianoCore EDK II network-boot driver. The vulnerable code runs before the operating system loads and before Secure Boot can block untrusted software. It dates back to April 2008 and, despite security audits and automated testing, was present in every EDK II release until the patch was merged.

We’re highlighting this flaw for two reasons. First, it went unnoticed for 18 years in a codebase that maintainers had revised, auditors had reviewed, and fuzzing projects had targeted. This shows the kind of flaw that AI-assisted review can now find. Second, when it finally surfaced, our team and a team at Google discovered it independently at around the same time, which suggests that others with similar tools could have found it too. We expect parallel discovery like this to become more common, which makes it urgent for defenders to find and fix these flaws before attackers do.

In this post, we share the technical details of the flaw, its attack surface, who can realistically reach it, and what impact it could have. While AI-driven security analysis has shortened the time needed to discover, validate, and develop remediations for critical flaws to hours or days, deploying updates to end-user systems can still take several months. Unfortunately, attackers benefit from the same speedup. They can rediscover a flaw on their own or work it out from a public patch, meaning an exploit may be ready long before the update reaches deployed machines. Most operators can’t patch firmware themselves, so until an update for their specific device is released, the best they can do is limit their exposure—for example, by isolating the networks they use to set up machines, or by turning off network boot where it isn’t needed. We explain why these types of fixes take months in the section on coordinating this disclosure, below.

Vulnerability overview

An unauthenticated attacker who can deliver a crafted ICMP error message to a machine while it boots over the network using PXE (the Preboot Execution Environment) can corrupt firmware memory and execute code in the pre-boot environment. TianoCore, the project behind EDK II, rates the flaw 9.5 out of 10 under CVSS 4.0.

PXE lets a server boot from the network instead of a local disk: the firmware obtains an address over DHCP, downloads a small boot program over TFTP, and runs it. Data centers use it constantly to install, reimage, and recover machines, and many servers ship with network boot first in the boot order, so the PXE code runs every time the server powers on and receives a DHCP response.

The vulnerable code is exposed from the moment the firmware gets its address until the boot program stops using PXE, typically seconds to a few minutes per boot. The most realistic attacker already controls another machine on the same network segment, such as a compromised server waiting to be reimaged, and can learn the target’s address and timing by watching the DHCP exchange. ICMP errors are routable, so if the provisioning network isn’t isolated, a host elsewhere can reach the flaw too, though it has to learn the address and timing some other way. Virtual machines that boot over the network with OVMF, the EDK II firmware for VMs, are exposed to anything that can reach their virtual network. In each case, reach and timing are enough to hang the boot, while running code also requires tailoring the attack to the target’s firmware build.

Diagram titled “CVE-2026-97631: attack surface and impact.” Three types of attacker (one on the provisioning segment, any routed host if the network isn’t isolated, and a virtual machine’s neighbors) can send one unicast ICMP error during the PXE session. Below, a boot sequence runs from power on to DHCP, TFTP download, boot program, OS loader, and OS. The exposure window covers the TFTP download and boot program; Secure Boot and measured boot check later, at the OS loader.
CVE-2026-97631’s attack surface and impact.

The UEFI specification requires the PXE driver to report ICMP errors to its caller. EDK II does this by copying each incoming ICMP error into a fixed 504-byte field (Mode.IcmpError), fragment by fragment.

The copy loop contains two coding errors:

  • Once the running total exceeds 504 bytes, the loop copies the number of bytes over the limit rather than the number that would still fit.
  • After each fragment, the destination pointer advances by the running total, rather than by the length just copied.

Either coding error on its own can make the loop write past the end of the field. Both are covered by the same CVE and fixed by the same patch, so we refer to them as a single flaw.

Top: the ICMP-error copy loop as committed to EDK II on April 2, 2008, beside the loop removed by the fix on October 15, 2026. The two are the same except for the name of the pointer, CopiedPointer in 2008 and IcmpError in 2026. Bottom: a timeline of the loop’s 18 years and 6 months in every EDK II release. January 2008: PXE driver imported. April 2008: loop added. November 2010: NetworkPkg created, with the loop kept for IPv4 and cloned for IPv6. December 2018: 2008 copy deleted. December 2021: file reformatted. February 2024: PixieFail fixes made in a neighboring file. October 2026: fixed.
The same vulnerable code, 18 years apart.

Understanding the flaw’s operational constraints is as important as evaluating its real-world impact. Exploitation requires network access to the target while it is booting over the network; systems that boot exclusively from local disk remain unaffected. For fleets provisioned over the network, the practical risks are fleet-wide denial of provisioning and pre-OS code execution on any devices that are actively booting at the time.

This code has been revised, audited, and fuzzed over the past 18 years, yet the flaw went undetected. One reason may have been a lack of active maintainers, at least in recent years. NetworkPkg, the EDK II package that includes the PXE driver, has not had a designated owner since mid-2023. In February 2026, TianoCore named it its highest-priority unmaintained package.

Another reason may be that previous detection tools work in a fundamentally different way from AI models. Traditional fuzzers, static analyzers, and rule-based detectors typically need precise instructions on where to inspect and what counts as a flaw. Claude (in this case, an unreleased internal research model) didn’t need such instructions. Like an expert vulnerability researcher, it questioned the logic of the copy loop’s else branch, analyzed the execution flow when handling oversized payloads, and evaluated the impact of an abnormally large ICMP error—a scenario that human reviewers, who may assume such errors remain small, typically overlook. Operating without preexisting signatures, crash dumps, or test harnesses, it systematically evaluated cold paths. This shift in discovery mechanisms cuts both ways: defenders can find latent vulnerabilities in legacy software without decades of historical domain knowledge, but so can attackers.

Implications for modern security audits

Beyond making analysis faster, AI-driven code review also makes coverage broader and deeper. Models can systematically inspect full codebases with expert-level scrutiny, evaluating obscure paths that manual audits only sample and automated fuzzers can miss. This capability surfaces quiet, deeply embedded defects in code long presumed secure. Indeed, this flaw endured for 18 years, survived four revisions by maintainers, and slipped past dedicated security audits and fuzzing initiatives. This is part of a broader pattern. Over the past year, Anthropic’s disclosure initiatives submitted thousands of findings to major open-source projects.

Schematic titled “What gets analyzed,” with three grids of squares representing parts of a codebase. Manual audit analyzes a few clusters in depth and misses the ICMP-error copy loop. Fuzzing executes most squares without analyzing them in depth and also misses it. Claude analyzes every square in depth and finds it. A note says the coverage patterns are schematic, not measured.
What earlier methods missed, AI can find.

Furthermore, AI expands what a security review can deliver. In addition to identifying the issue, the model generated the remediation patch, unit tests, backported fixes, and detection rules, changing the output from a simple bug report to an actionable fix.

Coordination on this disclosure

This flaw was discovered independently by two teams at around the same time. Google had also found it using one of its models, so we collaborated with Dan Holmes-Mitra and his team to consolidate our research and remediation efforts. Overlapping discoveries like this are happening more often as AI-assisted vulnerability research spreads to more teams. That makes such coordination increasingly important, because it spares maintainers and vendors from sorting through duplicate reports and competing patches.

The fix we proposed is simple. It limits each copy to the space left in the field and advances the pointer by only the number of bytes actually copied, so an oversized message is cut short instead of writing past the end of the field. TianoCore’s developers refined the fix during review to better fit the codebase and merged it into the EDK II reference code on October 15. TianoCore published its advisory a week later.

Timeline titled “Where the months go,” showing the typical time budget of one critical UEFI firmware disclosure. Today, 6 to 12+ months: triage, fix, and release in the first hop take about four and a half months; the next hop, through the independent BIOS vendor and then each OEM, repeats all three until after month eight; deployment at endpoints follows and continues past month 12. What it could be, weeks: with Claude, triage, fix, and release overlap with work by BIOS vendors and OEMs in parallel and finish in about a month and a half, followed by deployment at endpoints. Author’s estimates from past UEFI firmware disclosures.
UEFI fix delivery timeline.

Getting the fix onto deployed machines is much harder because of the way UEFI firmware is built and shipped. UEFI firmware is not a single product but a stack of layers, each built by a different party. TianoCore publishes the reference code. Silicon vendors wrap it in platform packages. Independent BIOS vendors build products on top of those packages. Device manufacturers (OEMs and ODMs) then produce a separate image for every model and BIOS version, sometimes through a contractor that maintains the BIOS on the manufacturer’s behalf. Related projects also inherit the same files, including Microsoft’s Project Mu, the OVMF firmware used by many virtual machines, and the Arm and DPU forks.

A fix to the reference code has to pass through each of these layers before it reaches end-user systems, which is why it can take months to arrive. Each party has to work out which of its products include the affected code, merge the patch into its own branch, and test the result before passing it on. That testing is thorough for good reason, since a vendor may support hundreds of board and processor combinations, and a faulty firmware update can leave a machine unable to boot. Operators then have to qualify the update and schedule reboots across their fleets.

Flow diagram of the UEFI firmware supply chain. TianoCore EDK II, the reference code, branches to direct forks (Arm servers, DPUs, and network appliances), Project Mu, and OVMF. It also flows down to silicon vendors’ platform code, then to independent BIOS vendors (IBVs), then to many OEMs and ODMs that build a separate image per model and BIOS version, and finally to operators such as clouds, enterprises, and telcos, with thousands of distinct firmware builds in the field.
The UEFI firmware supply chain. Each layer forks the code from the layer above it.

To manage disclosure, we used the Akrites initiative, which was established in 2026 by the Linux Foundation, OpenSSF, and other partners, including Anthropic and Google. Akrites aims to help open-source maintainers handle the growing volume of AI-assisted security reports and duplicate findings. By establishing a unified response structure, it facilitates triage, deduplication, fix verification, and coordinated ecosystem-wide patch distribution. This disclosure went through the Akrites workflow, which involved upstream maintainers and numerous downstream hardware vendors.

Conclusion

The vulnerability is now fixed in the EDK II reference code on GitHub, and we have been coordinating with TianoCore and vendors including AMI, Insyde, AMD, Intel, Dell, and Supermicro. The fix still has to move downstream into vendors’ firmware and across product lines. Given the complexity of the UEFI ecosystem and how long similar vulnerabilities have taken to patch in the past, we expect this process to take months.

That time frame is not unique to this flaw. Traditional vulnerability response processes for system firmware are struggling to keep pace with AI-powered vulnerability discovery. New approaches to coordination, testing, mitigation, and security updates are needed to address the growing threat of AI-enabled attacks. Anthropic is investing significantly in proactively hardening foundational system firmware, including through disclosures like this one. As industry-wide discussions about improving firmware security response continue, we will keep working with TianoCore, firmware vendors, and Akrites to help fixes reach machines sooner.