Threat Feed

CVE-2026-97631: TianoCore EDK2 · Remote code execution

Exploitation: Public exploit · CVSS 9.5 Critical · Unauthenticated · Published 2026-10-22

Description

EDK2 contains a vulnerability in BIOS where a user may cause “Out-of-bounds Write”, Classic Buffer Overflow, and “Incorrect Calculation of Buffer Size” by remote access. Successful exploitation of this vulnerability can lead to arbitrary code execution. It could also impact Confidentiality, Integrity, and Availability.

Enclave's analysis

CVE-2026-97631 is a classic buffer overflow in the TianoCore EDK II PXE Base Code driver (NetworkPkg/UefiPxeBcDxe) that has existed for approximately 16 years. During PXE boot, both the IPv4 (PxeBcIcmpErrorDpcHandle) and IPv6 (PxeBcIcmp6ErrorDpcHandle) ICMP error handlers copy received ICMP error messages into a fixed 504-byte Mode.IcmpError buffer without checking the message length. A crafted oversized ICMP error message delivered to a machine actively PXE booting causes an out-of-bounds write. Denial of service (boot hang via CPU exception) is straightforward; remote code execution is possible but requires firmware-build-specific knowledge to craft a payload that hijacks CoreSignalEvent() dispatch. Code runs at Ring 0 during the DXE phase, before Secure Boot or TPM measurements take effect, meaning a successful exploit could install persistent bootkits. No public proof-of-concept exploit or in-the-wild exploitation has been confirmed.

Fix

Upgrade EDK2 (NetworkPkg) to Upstream master (post-PR #13302, commits 14cdbb86, 560ed9b5, fa789071); no stable release yet; Microsoft Project Mu (mu_basecore) to Post-PR #1989 and #1990; OVMF (EDK II for virtual machines) to Fedora Rawhide edk2-ovmf fix recorded Oct 26, 2026; RHEL, Debian, SUSE unfixed as of Oct 28. No fixed version is listed for EDK2; follow the vendor advisory.

Affected versions

ProductVulnerableFixed in
EDK20 through edk2-stable202608Not listed
EDK2 (NetworkPkg)All versions from 0 through edk2-stable202608Upstream master (post-PR #13302, commits 14cdbb86, 560ed9b5, fa789071); no stable release yet
Microsoft Project Mu (mu_basecore)Versions prior to PRs #1989 and #1990Post-PR #1989 and #1990
OVMF (EDK II for virtual machines)All packaged versions through edk2-stable202608Fedora Rawhide edk2-ovmf fix recorded Oct 26, 2026; RHEL, Debian, SUSE unfixed as of Oct 28

Seen in 2 sources