Welcome to our

Cyber Security News Aggregator

.

Cyber Tzar

provide a

cyber security risk management

platform; including automated penetration tests and risk assesments culminating in a "cyber risk score" out of 1,000, just like a credit score.

PXECUTE (CVE-2026-97631): Root Cause, Reachability & Detection for the EDK II PXE Overflow Vulnerability

published on 2026-12-01 06:57:59 UTC by Mayuresh
Content:

PXECUTE (CVE-2026-97631) is a heap overflow in the EDK II PXE driver, NetworkPkg/UefiPxeBcDxe. While a machine PXE boots, one unauthenticated ICMP or ICMPv6 error sent to its address can hang the boot. If the attacker knows the exact firmware build, the same packet can run code before Secure Boot checks anything. The fix is in edk2-stable202611. Your hardware is fixed only when your vendor ships a BIOS built on it. It is not in CISA KEV (catalog 2026.11.30) and nobody has reported exploitation.

PXECUTE (CVE-2026-97631)
PXECUTE (CVE-2026-97631)

What is PXECUTE (CVE-2026-97631)?

PXECUTE is the name Google’s write-up uses for CVE-2026-97631, a memory corruption vulnerability in the network boot code of TianoCore EDK II, the open-source base for most UEFI firmware. TianoCore published advisory GHSA-99cj-7hg9-mp4m on 22 October 2026.

WeaknessCWE-120, CWE-131, CWE-787 (TianoCore). The field lives in a heap-allocated context, so CWE-122 fits too (my reading).
CVSS v49.5, AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H. Reachable over the network with no login and no user action. “AT:P” is the timing: the target must be PXE booting. Impact is total, on the machine and on what it boots next.
PreconditionThe target is PXE booting, and the packet arrives after DHCP gives it an address and before PXE stops.
ExploitedNo. Not in KEV 2026.11.30. CISA’s SSVC entry says exploitation “none” (30 October). No public exploit.
FixedEDK II commits 560ed9b and fa78907, in edk2-stable202611. Vendor builds below.
Vendor workaroundLenovo: keep PXE on trusted networks or disable network boot. Google: local disk first, UEFI HTTP(S) Boot, and ICMP filtering toward PXE subnets.

What is the root cause of CVE-2026-97631?

The UEFI specification says the PXE driver must hand ICMP errors to its caller. EDK II keeps a receive request open for them and copies each one into Mode.IcmpError, a fixed 504-byte field. This is the IPv4 loop in PxeBcIcmpErrorDpcHandle before the fix. The IPv6 handler has the same loop.

for (Index = 0; Index < RxData->FragmentCount; Index++) {
  CopiedLen += RxData->FragmentTable[Index].FragmentLength;
  if (CopiedLen <= sizeof (EFI_PXE_BASE_CODE_ICMP_ERROR)) {
    CopyMem (IcmpError, FragmentBuffer, FragmentLength);
  } else {
    CopyMem (IcmpError, FragmentBuffer, CopiedLen - sizeof (EFI_PXE_BASE_CODE_ICMP_ERROR));
  }
  IcmpError += CopiedLen;
}

There are two issues here. Once the total passes 504, the loop copies the excess instead of what still fits. The pointer then moves forward by the running total, not by the bytes it just copied. The fix clamps each copy to the space left with MIN(), stops when the field is full and moves the pointer by the copied length. A second commit zeroes the field first so short errors do not leave old bytes behind. This matters for detection:

  1. A fragmented error can overflow when it is smaller than 504 bytes. FragmentCount is the number of buffers in the reassembled packet, one per IP fragment, so the pointer jump compounds. A size-only rule misses this case.
  2. An unfragmented error copies length − 504 bytes into a 504-byte field. It overflows only when the ICMP message is longer than 1008 bytes. A 1,400-byte message writes 896 bytes, 392 past the end, which matches Google’s example.
  3. Messages from 505 to 1008 bytes do not overflow in one piece. They are still far larger than normal ICMP errors.

Who can reach the PXECUTE vulnerability?

Anyone who can send a unicast ICMP or ICMPv6 error to a machine while it PXE boots, from the same segment or over a routed path. Nothing else is required to hang the boot.

PXECUTE CVE-2026-97631 reachability: seven conditions from the network to the EDK II copy loop, with what stops each one
Seven conditions a packet must meet before the copy loop runs, and what stops each one.

I traced every check a packet meets on its way to the loop. These four points change how you should defend:

  • The window is longer than “the TFTP download”. PxeBcFlushStationIp arms the ICMP receive request once DHCP assigns an address. It re-arms after every packet and is cancelled only when PXE stops. Anthropic describes the same window: from the address until the boot program stops using PXE.
  • Routed attackers get in. The IPv4 source check rejects only non-unicast addresses inside the client’s own subnet. A unicast error from anywhere else passes. Red Hat and SUSE score the vulnerability as adjacent network (AV:A); the code supports TianoCore’s AV:N.
  • The firmware does not check the quoted header. Google says the error must quote an IP and UDP header that match the client. Neither Ip4Dxe nor the PXE driver checks that. My reading: stateful firewalls pass an ICMP error only when its quoted header matches a tracked flow, so the requirement applies to routed attacks through such a firewall, not to an attacker on the same segment.
  • ICMPv6 Packet Too Big never reaches the vulnerable code. Ip6ProcessPacketTooBig consumes type 2 and frees it. Only types 1, 3 and 4 reach the PXE handler. Google’s ACL drops ICMPv6 types 1 to 4 over 500 bytes. In EDK II reference code the type 2 part adds no protection, and Packet Too Big messages are commonly larger than 500 bytes, so it can break IPv6 path MTU discovery on that subnet. Vendor forks can differ, so check with your vendor before you rely on this.

What does a PXECUTE attack look like?

This is a typical CVE-2026-97631 attack path:

PXECUTE CVE-2026-97631 attack path: five attacker steps with where defenders break and detect each one Each attacker step, with where you break it and where you see it.

Accordingly, this is my MITRE ATT&CK mapping:

StepMITRE ATT&CK
Watch DHCP for a PXE client’s address and timingT1040 Network Sniffing
Send the ICMP error to the booting hostT1210 Exploitation of Remote Services
Hang the bootT1499.004 Application or System Exploitation
Run code before Secure Boot, boot an unsigned imageT1542.003 Bootkit
Persistence options Google lists (TPM hooks, older signed bootloader, NVRAM staging)T1542.001 System Firmware

CVE-2026-97631 Exploit Complexity

Hang the boot

  • One unauthenticated ICMP error, no credentials high: Works from the same segment or a routed path mid: Needs the client address and the PXE window; watching DHCP gives both outcome: Repeatable across a fleet that PXE boots on every power-on

Easy for anyone with reach

Treat as a provisioning denial of service

Run code before Secure Boot

  • Gains DXE code execution and Secure Boot bypass, shown in both finders' labs mid: Needs the exact firmware build to plant a counterfeit event low: No public exploit; not in KEV 2026.11.30 outcome: Realistic for an attacker who already owns a host on the provisioning network

Targeted, not mass

Patch the provisioning fleet first

Exploit difficulty, from the code and the two finders' write-ups

Which versions are affected, and which builds fix CVE-2026-97631?

Every EDK II release up to edk2-stable202608 carries the vulnerability, and so does anything built from it. That covers servers, workstations, PCs, edge boxes and VMs using OVMF. Fixed builds as of 30 November 2026:

PlatformFixed buildWatch out
EDK IIedk2-stable202611The GHSA still says “Not patched currently”. The git tag says otherwise.
Project Murelease/202511 and release/202608 backportsOlder Mu branches: not backported that I could find.
HPE ProLiant, Synergy, Apollo, AlletraGen10 3.72, 3.78 or 3.82; Gen10 Plus 2.72 or 4.22; Gen11 2.24 to 3.26; Gen12 1.20 to 2.00 (dated 11 to 13 Nov 2026)HPESBHF05190 rev.2 added DL365 Gen10 Plus. HPE scores it 9.8 on CVSS v3.1.
SupermicroX12 to X14, H11 to H15, A4, AmpereOne: per-board versionsX11 (Purley, Greenlow, Mehlow, Whiskey Lake-U), X12 Rocket Lake and Tiger Lake, A3: “By request”.
Lenovo (LEN-231052)8 of 810 rows have a build775 rows are still waiting: 695 with a target date up to 30 June 2027, 80 marked TBD. 27 rows are not affected.
RHEL 10edk2-20251114-5.el10_2.3, edk2-20260221-7.el10_3.2
RHEL 9edk2-20241117-9.el9_9.2; 9.8 EUS -8.el9_8.2RHSA-2026:100717 is headed “Low” because it bundles an OpenSSL fix.
RHEL 88.4 AUS and EUS-LL only: -4.el8_4.10The RHEL 8 main stream is listed as affected with no fix.
Debiansid 2026.11+ds-1bookworm, trixie and forky are vulnerable; trixie is marked “no-dsa (Minor issue)”.
Ubuntu, SUSENoneUbuntu: needs evaluation. SUSE: pending.
AMD platformsOEM BIOSAMD-SB-7081 rates it Medium. Its 5 November revision widened scope to any product using the EDK II PXE driver.
Dell, HP, Intel, Insyde, AMI, PhoenixNo advisory foundAsk your OEM.

Lenovo LEN-231052: when the fix lands

  • Fixed build available = 8 grey: Not affected = 27 amber: Target by 31 Dec 2026 = 113 red: Target Jan 2027 = 243 red: Target Feb 2027 = 147 red: Target Mar 2027 = 150 red: Target Jun 2027 = 42 dark: Target TBD: 80

810 product rows for CVE-2026-97631, revision 4 (26 Nov 2026)

Most Lenovo machines wait until 2027.
PXECUTE disclosure timeline from April 2008 to November 2026, with vendor fixes From the 2008 commit to the November 2026 vendor fixes. The bottom axis is to scale.

The embargo broke on 28 September. Public PR #13200, from an engineer whose commit carries an @ami.com address, put the CVE ID and the fix in its title. The advisory came 24 days later. A TianoCore maintainer later called the embargo breach a mistake.

How do I detect PXECUTE exploitation attempts?

The packet is the only thing you can see. The rules are in my Sigma repository.

  • Suricata 7 (tested): eight rules. Errors over 1008 bytes (sids 9763101, 9763102, 9763106, 9763107), errors of 505 to 1008 bytes (9763103, 9763104), fragmented ICMP over IPv4 (9763105) and fragmented IPv6 (9763108), all toward $PXE_NET. I replayed synthetic packets at every size boundary, plus echo requests and off-subnet traffic; each case alerted or stayed silent as intended.
  • Sigma for Zeek conn.log: converts cleanly to Splunk.
  • Zeek signatures

Read-only host triage, to find what can PXE boot and what firmware it runs:

# Linux: firmware version and boot order (look for PXE, IPv4 or IPv6 entries)
cat /sys/class/dmi/id/bios_vendor /sys/class/dmi/id/bios_version /sys/class/dmi/id/bios_date
sudo efibootmgr -v
# Linux: did the last boot run a network boot program? (measured boot log)
sudo tpm2_eventlog /sys/kernel/security/tpm0/binary_bios_measurements | grep -iE "MAC\(|IPv4\(|IPv6\("
# Hypervisor hosts: OVMF package and VMs set to network boot
rpm -q edk2-ovmf            # RHEL family
dpkg-query -W ovmf          # Debian and Ubuntu
for d in $(virsh list --all --name); do virsh dumpxml "$d" | grep -q "dev='network'" && echo "$d"; done
==========================================================
# Windows
Get-CimInstance Win32_BIOS | Select-Object Manufacturer,SMBIOSBIOSVersion,ReleaseDate
bcdedit /enum firmware
# Out of band (iLO, XClarity Controller, iDRAC): DMTF Redfish
curl -sk -u USER https://BMC/redfish/v1/Systems/1 | jq '.BiosVersion, .Boot.BootOrder'

Measured boot logs come from the firmware. Google lists TPM measurement hooking as a persistence option, so a clean event log from a machine you suspect proves nothing. The virsh check only catches per-domain <boot dev='network'/>; check per-interface boot order too. The Redfish system path can differ by vendor.

How do I mitigate PXECUTE?

Turn off PXE where you do not use it, flash the fixed vendor BIOS or OVMF package, and isolate provisioning networks until you can. The order below puts evidence first.

PXECUTE decision path for physical servers, PCs and virtual machines What to do per machine, by boot method and firmware vendor.
#ActionOperational impact
1Preserve evidence first on any machine whose PXE boot hung or misbehaved. Keep BMC event logs, DHCP and TFTP server logs, packet captures from the provisioning network, and a firmware dump if your vendor tools allow one.Low
2Disable PXE where it is not used, or put local disk first.Low on servers that never reimage. High on fleets that boot from the network every time.
3Flash the vendor BIOS or update OVMF, then reboot. Power VMs off and on so they load the new OVMF file (my reading of how QEMU loads firmware).Medium: reboots and qualification.
4Isolate provisioning networks. On routers and switches toward PXE subnets, drop fragmented ICMP and ICMPv6 and drop ICMP errors over 500 bytes. Do not drop all ICMP errors.Medium: oversized but legitimate errors, such as those from Linux routers that quote up to 576 bytes, are lost on these subnets.
5Move provisioning to UEFI HTTP(S) Boot where your tooling supports it.High: a tooling change.
6Run the network detections below. Treat any hit as a hunt lead.Low
7If a hit lines up with a machine that booted at that time, assume its firmware is not trustworthy. Reflash a known-good vendor image from out-of-band management and reinstall the OS. Then check that measured boot attestation looks normal again.High: downtime per machine.

There is no “session kill” step for this vulnerability, and no IOC scan on the OS will find it. The vulnerable code runs before the OS. A clean OS scan says nothing about the firmware underneath it.

PXECUTE FAQ

Am I affected if I never PXE boot? No. The vulnerable listener runs only during a PXE boot. Lenovo says the bug does not affect devices where PXE boot is not in use. Patch anyway, because boot order changes.

Does Secure Boot stop PXECUTE? No. The code runs before Secure Boot checks anything. Google’s proof of concept booted an unsigned OS image with Secure Boot on.

Is PXECUTE exploited in the wild? Not as of 30 November 2026. It is not in CISA KEV 2026.11.30, and CISA’s SSVC entry says exploitation “none”.

Does blocking all ICMP fix it? It stops the packet, but it breaks path MTU discovery. Drop fragmented ICMP and ICMP errors over 500 bytes toward PXE subnets instead.

Which EDK II version fixes CVE-2026-97631? edk2-stable202611, tagged 17 November 2026. It carries commits 560ed9b and fa78907, merged on 15 October 2026. Releases up to edk2-stable202608 are affected.

Is there a BIOS update for my HPE, Supermicro or Lenovo server? HPE shipped System ROMs dated 11 to 13 November 2026 for Gen10 to Gen12. Supermicro lists fixed BIOS versions for X12 to X14 and H11 to H15; X11 is by request. Lenovo lists target dates up to 30 June 2027.

Who found PXECUTE? Alex Matrosov (Anthropic) and Dan Holmes-Mitra (Google) found it independently, both with AI-assisted code review. The bug had been in EDK II since April 2008.

Are virtual machines affected? Yes, if they network boot with OVMF. Update the host’s OVMF package, then power the VM off and on.

How this analysis was done. I read the EDK II fix commits and the source tree before the fix (14cdbb8), traced the IPv4 and IPv6 receive paths, parsed all 810 rows of Lenovo LEN-231052, and replayed synthetic packets against the Suricata rules. Vendor facts come from vendor pages read on 30 November 2026. Statements marked “my reading” are inference.

Article: PXECUTE (CVE-2026-97631): Root Cause, Reachability & Detection for the EDK II PXE Overflow Vulnerability - published about 2 hours ago.

https://pentestit.com/pxecute-cve-2026-97631-edk2-pxe-root-cause-detection/   
Published: 2026 12 01 06:57:59
Received: 2026 12 01 08:27:16
Feed: PenTestIT
Source: PenTestIT
Category: News
Topic: Security Tooling
Views: 0

Custom HTML Block

Click to Open Code Editor