EDK II UEFI firmware: pre-boot RCE in the PXE driver via oversized ICMP errors (CVE-2026-97631)
TianoCore EDK II (UEFI firmware, NetworkPkg/UefiPxeBcDxe)
A critical buffer overflow in TianoCore EDK II, the open source UEFI code most server firmware is built on, lets an unauthenticated attacker who can send ICMP error messages to a machine while it PXE-boots corrupt memory in the PXE Base Code driver (NetworkPkg/UefiPxeBcDxe) and run code in ring 0 before Secure Boot or measured boot check anything. The bug sits in the IPv4 and IPv6 ICMP error handlers, which copy messages longer than 504 bytes past a fixed field. Reliable code execution needs knowledge of the target firmware build; otherwise the boot hangs. The fix (PR #13302) was merged to EDK II master on Oct 15 2026, but no stable EDK II tag carries it yet and the advisory lists it as not patched. Fixes reach most machines only through firmware updates from server and board vendors. Machines that boot only from disk aren't affected. Until vendor firmware ships, disable PXE/network boot where you can. TianoCore rates it critical (CVSS 4.0 9.5).
Why this severity: CVSS 4.0 9.5 per the TianoCore advisory; exploitation needs network reach to the machine during PXE boot, and code execution needs a payload tuned to the target firmware build
- Started
- Oct 15, 2026
Affected
- EDK II through edk2-stable202608 (NetworkPkg/UefiPxeBcDxe)
- UEFI firmware built on EDK II with PXE network boot
Fixed in
- EDK II master at fa78907 (PR #13302, no stable tag yet)
- Fedora edk2 20260812-6 (fix backported)
Timeline4
Ars Technica reports the bug affects firmware from most server vendors. The finders had planned a coordinated disclosure in January, but the public fix broke the embargo. Intel says none of its supported commercial products are known to be affected; Arm says it isn't directly applicable to its portfolio.
Fedora backports the fix into edk2 20260812-6 (updates-testing). Debian still lists its edk2 packages as vulnerable.
TianoCore publishes GHSA-99cj-7hg9-mp4m (critical, CVSS 4.0 9.5): pre-boot RCE in the EDK II PXE driver, patched versions listed as "Not patched currently". Credited to Alex Matrosov (Anthropic) and Dan Holmes-Mitra (Google).
PR #13302, "NetworkPkg/UefiPxeBcDxe: Fix ICMP buffer overflow in IPv4/IPv6 handle (CVE-2026-97631)", is merged into EDK II master as fa78907. The latest stable tag, edk2-stable202608 from Aug 21, doesn't include it.
Advisories4
- GHSA-99cj-7hg9-mp4m: Pre-boot RCE in EDK II PXE driver (CVE-2026-97631)TianoCore EDK II · Oct 22, 2026
- NVD: CVE-2026-97631NVD · Oct 22, 2026
- NetworkPkg/UefiPxeBcDxe: Fix ICMP buffer overflow in IPv4/IPv6 handle (CVE-2026-97631), PR #13302TianoCore EDK II · Oct 15, 2026
- Debian security tracker: CVE-2026-97631Debian · Oct 28, 2026
News & write-ups1
Get an email when a new major security incident drops. No spam, unsubscribe any time.