AI Models Uncovered an 18-Year-Old UEFI Flaw Months Before It Was Disclosed
Two leading AI research teams independently discovered a critical vulnerability in a widely used UEFI firmware codebase long before the flaw became public, according to accounts the companies published in recent weeks. The bug, which lived undetected for roughly 18 years, sits in the network-boot component of EDK II and can allow an attacker to execute code on a machine before the operating system ever loads.
Tracked as CVE-2026-97631, the flaw was disclosed in October, but both Google and Anthropic have now confirmed that their respective AI models flagged it months earlier. The parallel findings are notable less for the bug itself than for what they suggest about how automated reasoning systems may change the economics of vulnerability research.
What the Flaw Actually Does
EDK II is the open-source reference implementation of UEFI, the firmware layer that sits between hardware and the operating system. Its network-boot capabilities — used for PXE and similar remote deployment mechanisms — allow a machine to fetch boot images over a network during startup.
The vulnerability allows an attacker who can reach a device over the network while it is booting to run code in that pre-boot environment. Because this code executes before the OS and its security controls are active, it sits in a privileged position relative to everything that follows. Critically, exploitation at this stage can undermine the guarantees that Secure Boot is meant to provide, since the attack does not require tampering with signed boot components in the ordinary way.
The practical exposure depends heavily on network reachability. A machine that boots over an untrusted or insufficiently segmented network presents a meaningfully larger attack surface than one confined to a controlled data-center segment. The companies described validating the issue in lab conditions, underscoring that exploitation requires positioning on the network path during the boot window.
Two Models, One Conclusion
What makes this case stand out is the discovery process. According to the accounts published by the two companies, their AI models independently identified the flaw in the EDK II network-boot code well ahead of the October disclosure. Neither finding appears to have depended on the other.
That independence matters. When two separate systems converge on the same defect without shared context, it strengthens confidence that the finding is real rather than an artifact of a particular model's training data or prompting strategy. It also points to a maturing capability: AI systems are increasingly being pointed at large, obscure, and lightly audited codebases — exactly the kind of firmware territory where human review has historically been thin.
Firmware is a notoriously difficult research target. It is low-level, poorly documented in places, hard to debug, and rarely covered by the same fuzzing and code-review pipelines applied to application software. An 18-year-old bug surviving in a foundational project illustrates the gap.
Why Pre-Boot Bugs Punch Above Their Weight
Vulnerabilities in the boot path carry outsized significance for defenders. Code running before the operating system can potentially interfere with the boot chain, persist across reboots, and evade detection tooling that only activates once the OS is running. Secure Boot exists precisely to establish a chain of trust from firmware upward, so any weakness that lets an attacker slip code in earlier in the sequence deserves close attention.
For most organizations, the immediate risk is bounded by network architecture. Systems that do not use network boot, or that boot only from tightly controlled internal segments, face far less exposure. Environments relying on PXE across broad Layer 2 domains — or worse, across segments reachable by untrusted parties — should treat this as a prompt to review their boot-time network posture.
The Broader Signal
Beyond the specific patch cycle, the disclosure raises a question the industry will be grappling with for years: if AI-assisted review can surface decades-old flaws in foundational firmware, how many more are waiting? And who is responsible for finding them — the maintainers of volunteer-driven open-source projects, the vendors who ship their code, or the AI labs whose models now spot the problems?
There is a defensive upside here. The same reasoning capability that finds a bug can, in principle, be turned toward auditing the firmware and boot components an organization already depends on. But the finding also compresses the timeline between discovery and exploitation pressure, giving maintainers less room to respond quietly.
For now, the practical takeaway is familiar: prioritize patching, segment networks that carry boot traffic, and treat the pre-boot environment as part of your attack surface rather than an invisible layer beneath it.
Read the original report: The Hacker News