AI model finds 18-year-old firmware flaw in server code
An internal research model identified a remote code execution vulnerability in EDK II, a foundational project for server firmware, which remained undetected since 2008.
The short version
- The vulnerability (CVE-2026-97631) existed in the TianoCore EDK II network-boot driver since April 2008.
- The flaw allowed unauthenticated attackers to execute code by sending a crafted ICMP error message during network boot.
- Anthropic's AI model not only identified the bug but also developed the patch and unit tests for the fix.
- The fix was merged into the EDK II reference code on October 15, though deployment to end-user devices may take months.
- Google independently discovered the same flaw using a similar AI model at roughly the same time.
A hidden flaw in server foundations
Anthropic researchers used an internal research model to analyze the networking code in EDK II. This open-source project serves as a foundational component for the firmware used in most modern servers. During the analysis, the team identified a security flaw labeled CVE-2026-97631.
The vulnerability is a remote code execution flaw located in the TianoCore EDK II network-boot driver. This specific code is particularly dangerous because it runs before the operating system loads. Because it executes so early, it can bypass Secure Boot, which is the standard security protocol designed to block untrusted software.
The flaw dates back to April 2008 and remained in the codebase for 18 years. Despite the fact that the code underwent multiple revisions, security audits, and automated testing, the bug persisted in every release until it was recently patched. Anthropic noted that the flaw survived several rounds of review because it resided in a logic path that human reviewers typically overlook.
Why it matters
This story highlights how AI can find deeply embedded defects in legacy code that have bypassed human audits and automated tools for decades. It also underscores the growing challenge of patching firmware, where a single fix must pass through multiple vendors before reaching a user's machine.
How the vulnerability works
The flaw is triggered by an unauthenticated attacker who can deliver a crafted ICMP error message to a machine during a specific boot process. This occurs when a server uses PXE, or the Preboot Execution Environment, to boot over a network instead of from a local disk. Data centers frequently use PXE to install, reimage, or recover machines.
The technical issue lies in how the firmware handles these ICMP errors. The UEFI specification requires the PXE driver to report these errors to its caller, and EDK II does this by copying incoming messages into a fixed 504-byte field. However, the code contains two distinct errors in its copy loop that allow it to write past the end of that field.
One error causes the loop to copy the number of bytes over the limit rather than the remaining space. The second error causes the destination pointer to advance by the total running count instead of just the length of the fragment copied. Either of these errors on its own is enough to allow an attacker to corrupt firmware memory and execute their own code in the pre-boot environment.
Who is at risk
The most realistic attack scenario involves an attacker who already has access to the same network segment as the target. For example, a compromised server waiting to be reimaged could be used to watch the DHCP exchange and learn the target's address and timing. If the provisioning network is not properly isolated, a host elsewhere on the network could also reach the flaw.
Virtual machines that boot over the network using OVMF, which is the EDK II firmware for virtual machines, are also exposed. In these cases, the vulnerability can be reached by anything that can access the virtual network. While hanging the boot process is relatively easy to achieve, running actual code requires the attacker to tailor the attack to the specific firmware build of the target.
Systems that boot exclusively from a local disk are not affected by this specific flaw. However, for large fleets of servers provisioned over a network, the risk is significant. An attacker could potentially cause a fleet-wide denial of service or execute code on any device that is actively booting at the time of the attack.
The speed of AI discovery
Anthropic highlights this discovery as a sign of what AI-assisted review can now achieve. Unlike traditional fuzzers or static analyzers, which require precise instructions on where to look for bugs, the AI model functioned like an expert researcher. It questioned the logic of the code's branches and evaluated the impact of oversized payloads without needing a prior signature or crash dump.
This shift in discovery means that defenders can find latent vulnerabilities in legacy software without needing decades of historical domain knowledge. However, the same speedup applies to attackers. They can use similar tools to rediscover flaws quickly or work backward from a public patch to create an exploit before a fix is deployed to all machines.
The discovery was made independently by both Anthropic and a team at Google at roughly the same time. This parallel discovery suggests that as AI-assisted research becomes more common, coordination between teams will be essential. It helps prevent maintainers from having to sort through duplicate reports while ensuring that fixes are distributed across the ecosystem efficiently.
The challenge of patching firmware
While the AI model identified the bug and generated a patch in a matter of hours or days, deploying that fix to end-users is a much slower process. UEFI firmware is not a single product but a complex stack of layers. TianoCore publishes the reference code, but silicon vendors, BIOS vendors, and device manufacturers must all wrap and test that code for their specific products.
Each party must verify that a patch does not break the machine, as a faulty firmware update can leave a device unable to boot. Because a single vendor might support hundreds of different processor and board combinations, this testing is thorough and time-consuming. Consequently, it can take several months for a fix to move from the reference code down to the final image installed on a consumer or enterprise device.
To manage this complex disclosure, Anthropic used the Akrites initiative, a framework established in 2026 to help maintainers handle the volume of AI-assisted reports. The fix was merged into the EDK II reference code on October 15, and TianoCore published an advisory a week later. Coordination is ongoing with major vendors like AMD, Intel, Dell, and Supermicro to ensure the update reaches as many machines as possible.
What to watch
- How quickly major hardware vendors like Dell and Intel release the final firmware updates for this specific CVE.
- Whether other major open-source projects begin adopting the Akrites framework to manage AI-generated security reports.
Try it
Check if your organization uses PXE (network boot) for server provisioning and ensure those networks are isolated from general traffic.
More stories
ClaudeAnthropic pauses frontier model releases to prioritize safety research
ClaudeResearchers say Claude helped them find Bluetooth flaw in Elecbrakes trailer brake controllers
ClaudeAnthropic report finds AI adoption triggers worker fears of surveillance
ClaudeAnthropic AI discovery in cryptography does not break RSA encryption
ClaudeAI mathematical breakthroughs spark concerns over global banking security
Get The Daily
AI news, explained in 5 minutes a day. Free. The first issue is coming soon.
No password. Unsubscribe any time. Privacy
Say why
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Sources
The reporting and documents this story is built from. Each link opens the original.
- CodeGitHub page github.com
- ReportingAnthropic: the article we sourced anthropic.com
Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake or a concern? Contact us · Corrections.