AI-assisted vulnerability research · AI-discovered EDK II firmware vulnerability response guide
AI found an 18-year-old pre-boot flaw, but firmware delivery remains the harder problem
Anthropic says an internal research model found CVE-2026-97631, a critical memory-corruption flaw in EDK II's PXE driver.[1][2] TianoCore credits Anthropic and Google with independent discovery and rates it 9.5 under CVSS 4.0.[2] The finding is strong evidence for AI-assisted review of neglected code paths, not proof that autonomous security review is complete or that affected machines are already patched.[1][3][4]
ICMP fragments → 504-byte fieldCVE-2026-97631 · CVSS 9.5upstream → BIOS → OEM → fleetAnthropic published the technical account on November 30 after a coordinated disclosure that began in September.[1] Its model identified two bounds-handling errors in EDK II's ICMP processing during PXE boot, and the team reproduced code execution in a controlled harness.[1] The vulnerability is serious but conditional. An unauthenticated attacker must reach a machine while it is network-booting and deliver a crafted ICMP error; systems that boot only from local storage do not traverse the affected path.[1][2][5] TianoCore merged the reference fix on October 15 and published its advisory on October 22.[1][2][3] That does not update deployed firmware. Silicon vendors, BIOS suppliers, device makers and operators still have to integrate, test and install model-specific releases.[1][4] The practical lesson has two parts. Add AI review to the security toolbox because it can inspect obscure logic at useful scale. Keep independent validation, scoped claims and conventional patch operations because a model finding is only the start of the response.[1][2][3]
- Vulnerability
- CVE-2026-97631, pre-boot RCE
- Severity
- 9.5 critical under CVSS 4.0
- Exposure
- Only while PXE boot is active
- Reference fix
- Merged October 15, 2026
What the model found in EDK II
EDK II is an open-source implementation used as a foundation for server and virtual-machine firmware.[1][2] Its PXE Base Code driver listens for ICMP errors while a machine boots from the network. The driver copies fragmented errors into a fixed 504-byte field.[1][2]
Anthropic describes two errors in that loop. Once the running total passes the field size, the code calculates the next copy from the excess instead of the remaining capacity. It also advances the destination pointer by the cumulative total rather than the fragment just copied.[1] Either mistake can write beyond the field, and a crafted message can combine them into controlled memory corruption.[1][2]
The research model identified the suspicious branch and traced the oversized-message path, according to Anthropic.[1] Researchers then reproduced the flaw against reference firmware, built a test harness and confirmed code execution.[1] The model also drafted a patch, tests, backports and detection rules, but people verified and coordinated the work.[1]
TianoCore's advisory provides the strongest neutral confirmation of the core result. It names both Alex Matrosov of Anthropic and Dan Holmes-Mitra of Google as finders, describes the same IPv4 and IPv6 PXE path, and assigns CVE-2026-97631 a 9.5 critical score.[2]
The affected path is narrow and consequential
The flaw is reachable only while a machine is PXE-booting.[1][2] A remote, unauthenticated attacker must deliver a crafted ICMP error to the target during that window. Causing a hang needs reach and timing; reliable code execution also depends on knowing enough about the target firmware build to shape the corruption.[1]
That constraint rules out a broad claim that any running server can be compromised at any time. A machine that boots exclusively from local storage does not execute the vulnerable network-boot path.[1][2] The risk is higher in data centers, recovery networks and virtualized environments that regularly provision machines over PXE or place network boot early in the boot order.[1]
Successful exploitation occurs in the DXE pre-boot environment, before operating-system controls and before Secure Boot or measured boot evaluates OS components.[1][2] The immediate outcomes include stopping provisioning and, for a tailored attack, executing code before the normal operating system security boundary exists.[1][2]
Network topology changes the likelihood. A compromised host on the same provisioning segment can observe DHCP activity and time the attempt.[1] ICMP can also cross routers when policy allows it, so a provisioning network that is not isolated may expose a wider path.[1]
- Do not translate a critical CVSS score into universal exposure. Inventory actual PXE use and network reachability first.[1][2]
- Do not translate a narrow window into low impact. Pre-OS code execution can bypass the controls operators normally rely on.[1][2]
- Treat virtual machines using affected OVMF builds as part of the inventory when they network-boot.[1][5]
- Use vendor-specific advisories for affected products and fixed firmware, rather than assuming an upstream commit updates a device.[3][4][5]
What this result proves about AI code review
This is credible evidence that a capable model can surface a high-impact flaw in old, heavily reviewed systems code.[1][2] The vulnerable logic dates to 2008, and Anthropic says it survived revisions, audits and fuzzing.[1] Independent discovery by Google's team strengthens confidence that the bug was real and that the capability is not unique to one laboratory.[1][2]
The public evidence does not establish a general autonomous-review success rate. Anthropic used an unreleased internal model and has not published the complete prompt, full search trace, model weights, candidate count, false-positive rate or a controlled comparison with expert review and static analysis.[1] We therefore cannot infer how often the same process would find a different vulnerability or how much researcher guidance it required.
The useful unit of comparison is the whole workflow: candidate discovery, reproduction, exploitability analysis, patch generation, regression tests, human review and coordinated delivery. The model accelerated several stages, while maintainers and researchers still determined whether the finding was valid and safe to publish.[1][2][3]
AI review should complement fuzzing, static analysis and expert audit. Models can inspect cold paths and question assumptions that rule-based tools do not encode. Traditional tools provide repeatability, broad input exploration and deterministic checks that a generative model does not guarantee. Combining them gives each finding more ways to be confirmed or rejected.
- Freeze the repository revision, build configuration, model version, prompt or task instructions and tool permissions for every review run.
- Require a minimal reproducer or failing test before a candidate becomes a report.
- Run existing compilers, sanitizers, static analyzers and fuzzers against the same path. Agreement is useful evidence; disagreement needs investigation.
- Measure confirmed findings, duplicates, false positives, researcher time, affected versions and patch acceptance. A count of model suggestions is not a security outcome.
- Keep exploit generation and tests in an isolated environment with controlled network access and auditable artifacts.
The upstream fix is only the first hop
TianoCore merged the corrected bounds handling on October 15.[1][3] The patch limits each copy to the remaining space and advances the destination by the bytes actually copied.[1][3] The project's advisory followed on October 22.[2]
Production firmware has more layers. A silicon vendor may carry a platform package, an independent BIOS vendor may integrate it, and an OEM may produce a separate image for each server model and firmware branch.[1] Each organization has to identify affected products, merge the change, test hardware combinations and publish an update that will not make a machine unbootable.[1]
The downstream state is therefore mixed. HPE published product-specific fixed BIOS versions for affected ProLiant and related systems.[4] Red Hat shipped a critical edk2 update for RHEL 10, including updated OVMF packages for QEMU and KVM.[5] Other products require their own vendor evidence.[1][2]
TianoCore has fixed the source on its default branch, but its advisory does not name a patched upstream release and still lists edk2-stable202608 as affected.[2][3] An untagged source commit is not a supported device update. Operators should use the advisory for their exact hardware or virtualization package to identify a released fix.[2][4][5]
A response plan for PXE-booted systems
Start with exposure, then patch. A useful inventory joins firmware or OVMF provenance with boot configuration, network segmentation and the frequency of PXE use. That avoids both extremes: treating every device as remotely exploitable all day or dismissing a short pre-boot window that repeats across fleet provisioning.
Use the upstream CVE to find the issue, then use the device, operating-system or virtualization vendor's advisory to choose the update.[2][4][5] Test the exact image on representative hardware before fleet rollout, because firmware rollback and recovery are harder than application rollback.
- Inventory: list physical servers and virtual machines that can PXE-boot, including recovery paths and fallback boot order.
- Reachability: map which hosts can send ICMP traffic to provisioning networks and whether DHCP activity is visible outside the intended segment.[1]
- Immediate mitigation: disable or remove network boot from the boot order where it is unnecessary, and isolate provisioning networks while updates are pending.[1] Putting local disk first only reduces routine exposure because a failed or missing disk can still fall through to PXE.
- Update evidence: record the OEM advisory, fixed BIOS or package version, release date and device scope. An upstream Git commit alone is not deployment proof.[2][3][4][5]
- Canary: install on representative boards or VM templates, then test cold boot, PXE provisioning, Secure Boot, measured boot, recovery and rollback.
- Detection: monitor unexpected DHCP, TFTP and ICMP activity around provisioning events, while recognizing that logs after OS start may not capture pre-boot execution.
- Completion: verify the running firmware or package version from the managed system, not only the update job's success response.
How to evaluate an AI vulnerability-review pilot
Choose one bounded, authorized codebase and one failure class that already has deterministic tooling. Memory safety in a native library is a stronger first pilot than an unbounded request to find every security problem. Preserve an untouched test partition so the pilot can be compared with the existing review process.
Run a blinded backtest on known fixed flaws plus clean revisions, then a prospective review where every candidate follows the same triage rules. Track whether the model adds confirmed findings that the baseline missed, shortens time to a reproducer or creates enough noise to consume the saving.
A release decision should require human ownership, reproducible evidence, a reviewed patch and a disclosure path. The EDK II case is valuable because all four are visible.[1][2][3] It should raise expectations for evidence from future AI-security claims rather than lower them.
- Primary metric: independently confirmed, previously unknown vulnerabilities per reviewer-week.
- Quality metrics: precision after initial triage, duplicate rate, severity calibration and percentage with a working reproducer.
- Delivery metrics: time from candidate to validated report, patch acceptance, regression coverage and downstream update availability.
- Safety metrics: unauthorized network access, secret exposure, harmful artifact handling and gaps in the audit trail.
- Stop condition: suspend the pilot if the model cannot keep findings inside scope or if reviewers cannot reproduce its evidence.
What to watch next
The immediate signal is downstream coverage. More OEM and virtualization advisories should identify affected products and fixed versions. Operators need that product-specific evidence more than another retelling of the upstream flaw.[1][4][5]
For AI-assisted review, watch for reproducible evaluations across complete repositories: disclosed model and tool versions, known-vulnerability backtests, clean controls, false-positive accounting and prospective discoveries accepted by maintainers. One exceptional result establishes possibility, not a dependable base rate.
The strategic concern is a widening discovery-to-deployment gap. Models can help defenders and attackers inspect old code faster, while firmware updates still pass through long hardware supply chains.[1] Teams that depend on PXE should shorten inventory, vendor-notification, canary and rollout loops now, rather than waiting for the next AI-discovered pre-boot flaw.
Keep learning on Learnetto
Sources
[1] Anthropic technical report
[2] TianoCore security advisory