AI Models Uncover 18-Year-Old UEFI Flaw, Bypassing Secure Boot
Google and Anthropic AI models independently discovered CVE-2026-97631, an 18-year-old vulnerability in EDK II's network-boot code, enabling pre-OS code execution and Secure Boot bypass.

AI models at Google and Anthropic independently discovered a critical flaw in the EDK II network-boot code, months before its official disclosure in October. This 18-year-old vulnerability, tracked as CVE-2026-97631, allows an attacker with network access to a machine during its boot process to execute code before the operating system loads. In laboratory tests, researchers successfully used the flaw to bypass Secure Boot, a foundational security feature designed to prevent malicious software from loading during startup.
The vulnerability resides within the PXE driver of EDK II, an open-source code base widely used by hardware manufacturers for their Unified Extensible Firmware Interface (UEFI). The PXE driver enables systems to load their operating system over the network, a common practice for server setup and reimaging. The flaw is triggered by an attacker sending oversized error messages that overflow a fixed memory buffer, leading to a crash. However, with knowledge of the target's firmware build, attackers can exploit this overflow to execute their own code.
TianoCore, the project maintaining EDK II, issued an advisory on October 22, rating the vulnerability a critical 9.5 out of 10. The flaw's age has been traced back to April 2008, making it an 18-year-old bug, though previous reports had dated it to 2010. Notably, the same network package was also found to contain the nine PixieFail vulnerabilities disclosed in January 2024.
Google's firmware security team utilized a review pipeline powered by its Gemini AI models to identify the bug in May. Their process involved cross-checking potential findings, filtering duplicates, and testing for exploitability before human engineers intervened. They developed a proof-of-concept that repaired the corrupted memory and patched firmware signature checks, allowing an unsigned OS image to boot with Secure Boot enabled.
Anthropic's research, conducted in early September, involved an unreleased internal AI model that independently found the same flaw by analyzing the code alone. This model not only identified the vulnerability but also proposed a fix, unit tests, and detection rules, all of which were verified by Anthropic researchers before submission.
A significant challenge highlighted by the discovery is that the vulnerable code, part of the NetworkPkg EDK II package, has lacked a designated maintainer since mid-2023. TianoCore had previously flagged it as its highest-priority unmaintained package.
The fix for CVE-2026-97631 was merged into EDK II on October 15 and included in its stable release. However, the actual deployment of this fix depends on hardware vendors updating their specific firmware. Companies like HPE and Supermicro have released patched BIOS builds, while others, such as AMD, point customers to their hardware manufacturers for updates. Operating system vendors like Red Hat and Debian have also addressed the vulnerability in their respective packages, but physical server firmware updates remain a separate and often lengthy process.
Until firmware is universally updated, mitigation strategies include disabling PXE booting where unnecessary, isolating provisioning networks, and filtering oversized ICMP error messages. Anthropic estimates that widespread deployment of critical firmware fixes can take six to twelve months or longer, underscoring the persistent risk posed by this long-standing UEFI vulnerability.