TianoCore EDK II: ICMP-based buffer overflow in PXE Base Code driver (CVE-2026-97631)
A critical 16-year-old memory corruption flaw (CVE-2026-97631) in the EDK II PXE-Base Code driver allows attackers on the local network to execute arbitrary code with Ring 0 privileges during the early boot sequence.
CVE search metadata
CVE search record: CVE-2026-97631. EPSS: 0.43%. KEV: no. Product: TianoCore EDK II (<= 2026-10-27), Project Mu (<= 2026-10-27). Brief: TianoCore EDK II: ICMP-based buffer overflow in PXE Base Code driver (CVE-2026-97631). Brief link: https://feed.craftedsignal.io/briefs/2026-10-uefi-edk2-buffer-overflow/
Triage facts
Revision 1- Applicability
- TianoCore EDK II (<= 2026-10-27), Project Mu (<= 2026-10-27)
- Evidence
- Unknown
- Severity
- Critical
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Oct 27, 20:59 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- B2Likely
CVE-2026-97631 is a memory-corruption vulnerability in the PXE-Base Code driver (NetworkPkg/UefiPxeBcDxe) of the open-source TianoCore EDK II reference implementation. The vulnerability stems from an incorrect bounds check in the ICMP error handling logic, where the driver fails to restrict the copy of ICMP error messages to a fixed 504-byte buffer. An attacker with local network access can send a malicious, oversized ICMP error packet during a PXE network boot sequence to overwrite adjacent memory, allowing execution of code in the UEFI environment (Ring 0). Exploitation can bypass Secure Boot and TPM attestation, as the code runs before these security mechanisms are initialized.
Impact
Successful exploitation enables arbitrary code execution at the UEFI firmware level (Ring 0), bypassing Secure Boot and TPM protections. While the initial payload lacks persistence, it can be used to install secondary payloads that reside in the firmware environment. Impact is limited to devices configured to boot from a network using EDK II-based firmware.
Recommendation
- Identify systems within the environment that utilize PXE network booting for OS deployment or maintenance.
- Contact hardware vendors (OEMs) and server manufacturers to obtain and deploy BIOS/UEFI firmware updates that patch CVE-2026-97631.
- Disable network boot (PXE) functionality on systems where it is not required for daily operations to reduce the attack surface.
- Implement network segmentation to restrict access to PXE infrastructure, ensuring only authorized deployment servers can communicate with target endpoints.
Immediate actions
Inventory server and workstation assets that have PXE boot enabled in UEFI/BIOS settings.
Threat Hunt
Monitor network traffic for anomalous ICMP error packets originating from unauthorized internal hosts during device boot sequences.
Data: Network IDS/IPS logs capturing ICMP traffic, Flow logs from internal subnets hosting server boot environments
Mitigations
Disable PXE network boot on all production systems where not required for deployment.
CVE-2026-97631
Apply BIOS/UEFI firmware updates from manufacturers once released.
CVE-2026-97631