Imagine someone compromising your computer before Windows or Linux even gets a chance to start. No running applications, no browser, no operating system to attack. Just your computer turning on and preparing to boot.
Sounds a little unusual, doesn't it?
That's exactly the kind of scenario made possible by a recently disclosed UEFI vulnerability affecting PXE network booting. And the interesting part is that the attacker doesn't necessarily need to compromise your operating system at all.
Basically, this vulnerability in UEFI firmware has demonstrated something rather interesting: a computer can be attacked before Windows or Linux even starts.
The vulnerability, identified as CVE-2026-97631, affects the EDK II PXE network boot driver. It allows an unauthenticated attacker to potentially execute malicious code during the computer's network boot process, before the operating system and its security mechanisms take control.
The vulnerability received a CVSS 4.0 score of 9.5 out of 10 (Critical).
But before assuming that every computer connected to the internet is in danger, there are some important details to understand.
1. First, what is PXE boot?
PXE stands for Preboot Execution Environment.
In simple terms, it allows a computer to start an operating system or another boot environment directly from a network instead of using its local SSD, HDD or USB drive.
For example, imagine an organization with 100 computers that need Windows installed. Instead of preparing 100 USB sticks, an administrator can configure the computers to boot from a central network server and install Windows remotely.
PXE is also used for:
- Installing Windows or Linux over a network.
- Deploying operating systems across multiple computers.
- Diskless workstations that load their operating system from a server.
- Network-based recovery and troubleshooting environments.
- Automated server provisioning in data centers.
The important detail is that PXE operates before the operating system starts. It is handled by the computer's UEFI firmware.
2. What exactly is vulnerable?
The vulnerability affects the PXE Base Code driver in TianoCore EDK II, specifically:
NetworkPkg/UefiPxeBcDxeThis driver handles network communication during PXE boot.
The problem is a programming error involving memory management.
The driver uses a fixed-size memory area of 504 bytes to store incoming ICMP error messages. However, it does not correctly check the size of incoming data.
An attacker can send an oversized ICMP error message, causing the driver to write data beyond the allocated memory area.
This is known as a buffer overflow, more specifically an out-of-bounds write.
The result is memory corruption inside the UEFI firmware.
Both IPv4 and IPv6 network boot implementations are affected.
3. When is a computer actually vulnerable?
This is probably the most important detail of the entire vulnerability.
The vulnerable code is exposed during the PXE boot process, not during normal operating system operation.
Consider these situations:
- Computer booting normally from an SSD: The vulnerable PXE processing path is not active.
- Windows or Linux already running: The PXE vulnerability cannot be exploited through this driver during normal OS operation.
- PXE enabled in BIOS but not currently being used: The vulnerable network boot code is not actively processing packets.
- Computer actively performing PXE boot: The vulnerable driver is executing and the attack window exists.
Simply having PXE support in your BIOS does not mean your computer is continuously exposed.
The exposure exists while the PXE driver is active during network boot.
Once the computer finishes PXE boot and transfers control to the operating system, this particular attack surface is no longer active.
4. How can an attacker exploit it?
The attacker needs to deliver a specially crafted ICMP error message to the PXE-booting computer.
There are several important conditions:
- The computer must be using affected firmware.
- It must be actively performing PXE boot over IPv4 or IPv6.
- The attacker must be able to deliver the malicious network packet to the computer.
- For the more sophisticated code-execution technique, the attacker needs knowledge of the target firmware build.
There is no requirement for the attacker to authenticate to the computer.
An interesting detail from the original advisory is that the attacker does not necessarily need to be on the same local network.
The malicious ICMP message must reach the client's IP address, but it can originate from any network distance if routing and filtering permit it.
The attacker also does not need to compromise the DHCP or TFTP server responsible for providing the PXE boot environment.
5. What can actually happen?
There are two distinct outcomes described in the original security advisory.
A. Denial of service
The attacker sends an oversized ICMP error message that corrupts the driver's internal data.
When another ICMP error is processed, the firmware can encounter a CPU exception and the boot process hangs.
In practical terms:
- The computer may refuse to complete network boot.
- Operating system installation or recovery may fail.
- An administrator may be unable to provision the affected machine.
This is essentially a denial-of-service attack.
Your data is not automatically stolen or decrypted. The attacker may simply prevent you from accessing the computer through its normal boot process.
B. Arbitrary code execution
This is the more serious possibility.
An attacker who knows the target firmware build can construct a more sophisticated packet that takes advantage of the memory corruption to trigger execution of attacker-controlled code in the UEFI DXE environment.
This happens before the operating system starts and before its normal security mechanisms take control.
In this situation, the attacker may potentially:
- Execute malicious code with firmware-level privileges.
- Interfere with the boot process.
- Access or modify firmware data and memory.
- Attempt to modify persistent boot components.
- Attempt to establish persistence through additional malicious components.
The last two points are particularly important.
The original vulnerability does not automatically install persistent malware. However, successful code execution in the firmware environment could provide an opportunity to install something that survives subsequent reboots.
6. Can malware continue running after Windows or Linux starts?
Yes, potentially.
This is where the distinction between the vulnerability and its consequences becomes important.
The vulnerable PXE driver does not need to remain active for malicious code installed during exploitation to survive.
Imagine the following scenario:
- A computer starts and begins PXE boot.
- An attacker exploits the vulnerable UEFI driver.
- The attacker executes malicious code before the operating system starts.
- The attacker manages to install a persistent malicious boot component.
- Windows or Linux starts normally.
- During a subsequent boot, the malicious component executes again.
This is the general concept behind a UEFI bootkit.
A bootkit is malware designed to interfere with the boot process, potentially allowing malicious code to execute before the operating system's security mechanisms become fully active.
It is important to understand that this is a possible follow-up attack, not something that automatically happens whenever the vulnerability is triggered.
7. Does Secure Boot protect against this?
Not against the initial vulnerability.
Secure Boot is designed to verify the authenticity of boot components before allowing them to execute.
However, the vulnerable PXE driver processes network traffic before Secure Boot has verified the operating system's boot components.
This means Secure Boot does not prevent the initial memory corruption or the described DXE code-execution technique.
That does not make Secure Boot useless.
It can still prevent certain unauthorized boot components from executing, depending on the attack and the firmware implementation.
Similarly, TPM measured boot records measurements of boot components, but measurements alone do not prevent malicious code from executing.
8. What about encrypted disks? Can the attacker access your files?
This is probably the most concerning question for ordinary users.
Imagine a laptop protected by BitLocker or a Linux installation protected by LUKS.
The attacker does not automatically obtain your encryption key simply by exploiting the PXE vulnerability.
The encryption algorithm itself is not broken.
However, compromising the firmware before the operating system starts creates opportunities to attack the process through which encrypted data becomes accessible.
Depending on the encryption configuration and the attacker's capabilities, a sophisticated attacker could potentially:
- Interfere with the boot chain.
- Attempt to capture credentials or secrets during the unlocking process.
- Attempt to modify components involved in disk unlocking.
- Establish persistence that allows further attacks during subsequent boots.
For example, TPM-backed BitLocker protection, Secure Boot and measured boot introduce additional protections that make certain attacks more difficult.
Likewise, a LUKS installation protected by a manually entered passphrase does not automatically reveal that passphrase to compromised firmware.
The important distinction: The attacker does not necessarily need to break the encryption. They may instead try to compromise the computer at the point where encrypted information becomes accessible.
9. How difficult is this attack in practice?
A CVSS score of 9.5 sounds frightening, but the practical attack scenario is considerably more specific than a conventional remote vulnerability.
The attacker needs several things to line up:
- Identify a computer running affected firmware.
- Determine when that computer will perform PXE boot.
- Have network access that allows the required ICMP message to reach it.
- Deliver the malicious packet while the vulnerable driver is active.
The original advisory describes two different levels of exploitation.
The denial-of-service technique is comparatively straightforward.
Achieving arbitrary code execution requires knowledge of the target firmware build and a more sophisticated packet.
The timing requirement is also important.
The attacker needs to act during the PXE boot window. However, this does not necessarily require guessing the exact millisecond when the computer starts. The attacker can monitor or anticipate the boot process and automate packet delivery.
In other words, this is not simply a matter of scanning the internet for vulnerable computers and immediately exploiting them.
It is a more targeted attack that requires network reachability and the right circumstances.
10. Can a firewall prevent the attack?
Network filtering can reduce the attack surface.
The vulnerability relies on specially crafted ICMP error messages reaching the PXE client.
Possible defensive measures include:
- Keeping PXE provisioning networks isolated from untrusted networks.
- Filtering suspicious or oversized ICMP error traffic.
- Restricting network access to machines performing PXE boot.
- Using dedicated VLANs for network provisioning.
- Disabling PXE boot when it is not needed.
However, do not blindly disable all ICMP or ICMPv6 traffic.
These protocols have legitimate networking functions, including Path MTU Discovery. Blocking them indiscriminately can create other network problems.
Network filtering should be based on the specific mitigation guidance from the firmware vendor or network equipment provider.
11. Can we detect a successful attack?
Unfortunately, detecting this type of attack is difficult.
The exploitation happens before the operating system starts, meaning normal operating system security tools might never see the original attack.
Potential sources of information include:
- Firewall logs: May reveal suspicious ICMP traffic reaching the computer.
- PXE server logs: May help establish when network boot sessions occurred.
- UEFI logs: May contain firmware errors, if the implementation records them.
- TPM measurements: May reveal unexpected changes to measured boot components.
- Firmware integrity checks: May reveal modifications to firmware flash contents.
There is an important limitation.
Not every successful exploit modifies persistent firmware storage. A memory-only attack may leave no obvious firmware changes.
Therefore, a clean firmware integrity check does not necessarily prove that exploitation never happened.
Prevention is considerably more reliable than detection in this situation.
12. How do we recover from a successful attack?
The recovery procedure depends on what the attacker managed to do.
If the attack only caused memory corruption and prevented PXE boot from completing, the machine may simply need a normal restart after the attack has stopped.
If the attacker successfully executed malicious code, the situation is different.
If persistent malware was installed outside the operating system, reinstalling Windows or Linux may not remove it.
A more thorough recovery may require:
- Disconnecting the affected machine from untrusted networks.
- Obtaining a known-good firmware image from the hardware manufacturer.
- Reflashing the UEFI firmware using the manufacturer's recovery procedure.
- Restoring trusted boot configuration and verifying Secure Boot keys.
- Rebuilding the operating system and its boot chain.
- Changing potentially exposed passwords and credentials.
- Reviewing disk encryption configuration and rotating affected secrets where necessary.
Simply reinstalling the operating system is not necessarily sufficient if the compromise exists outside the OS installation.
13. What about virtual machines?
This vulnerability is not limited to physical computers.
EDK II is also used in virtual machine firmware implementations, including OVMF.
For example, Proxmox uses OVMF for UEFI virtual machines.
A virtual machine using affected firmware and actively performing PXE boot can therefore be exposed to the same vulnerability.
However, a virtual machine booting exclusively from its virtual disk is not exposed to this particular PXE attack path.
The same distinction applies to physical machines: having vulnerable firmware installed is not the same as actively using the vulnerable network boot functionality.
14. Is there a fix?
Yes.
TianoCore published the security advisory and an upstream correction was merged into the EDK II master branch through pull request #13302 on October 15, 2026.
The correction addresses the incorrect buffer handling in the IPv4 and IPv6 ICMP error handlers.
However, there is an important difference between an upstream code correction and a firmware update available to users.
Motherboard manufacturers, server vendors and virtualization platform maintainers must incorporate the correction into their own firmware packages and distribute updated versions.
As of November 26, 2026, some vendors and distributions have already published fixes, while others may still be working on them.
What should you do?
- Check your motherboard or server manufacturer's security announcements.
- Install firmware updates that explicitly address CVE-2026-97631.
- Check for updated OVMF/EDK II firmware packages if you use virtual machines.
- Disable PXE boot if you do not need it.
- If PXE is required, restrict it to trusted and appropriately isolated networks.
15. How to check whether you are exposed
Start with a few simple questions:
Do you use network boot?
If your computer always starts from its local SSD or HDD, you are not using the vulnerable PXE functionality during normal startup.
Is PXE enabled in BIOS/UEFI?
Look for settings such as:
- Network Boot
- PXE Boot
- IPv4 PXE Support
- IPv6 PXE Support
- Network Stack
The exact names depend on the motherboard manufacturer.
Does your server or virtualization platform use UEFI network boot?
Check the boot order of your virtual machines and whether they use an affected EDK II/OVMF firmware version.
Is a firmware update available?
Check the manufacturer's documentation rather than assuming that every BIOS update includes the correction.
16. The bigger picture
We tend to think of computer security as something that starts when Windows or Linux starts.
But the operating system is not the first software executed by a computer.
Before Windows or Linux loads, the firmware initializes hardware, performs checks and prepares the environment in which the operating system will run.
This creates an interesting security problem.
We can have disk encryption, Secure Boot, TPM, antivirus, firewalls and sophisticated operating system protections, but the firmware responsible for starting the computer is itself software and can contain vulnerabilities.
CVE-2026-97631 is a good example of why firmware security matters.
The actual exploitation window is relatively narrow: the computer must be actively performing PXE boot, and the attacker must be able to deliver the required network traffic during that period.
But a successful attack could have consequences that last much longer than the PXE boot process itself.
The takeaway: If you do not use PXE boot, disable it. If you do use it, keep firmware updated and isolate the network boot environment.
You do not need to panic simply because your computer uses UEFI or has an Ethernet connection. Understanding when the vulnerable code is active is the key to understanding the actual risk.
Further reading and references
- TianoCore: Official EDK II security advisory
- TianoCore: Upstream correction, pull request #13302
- CVE-2026-97631 record
- NIST NVD – CVE-2026-97631
- AMD security bulletin AMD-SB-7081
- Red Hat security information
- Debian security tracker
- Hetzner: CVE-2026-97631 mitigation and incident updates
Information checked on November 26, 2026. Firmware vendor support and patch availability may change over time.
- Log in to post comments
- 12 views