Windows Deployment Services (WDS) Remote Code Execution (CVE-2026-42987)
A use-after-free flaw exists in Windows Deployment Services when it handles simultaneous TFTP requests, allowing an unauthenticated remote attacker to trigger invalid memory use. Successful exploitation requires winning a race condition and could allow code execution on the affected server.
Description
Use after free in Windows Deployment Services allows an unauthorized attacker to execute code over a network.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.
FAQ
How could an attacker exploit this vulnerability? An attacker could send specially crafted network requests to a Windows Server system that has the Windows Deployment Services (WDS) role enabled and is listening for TFTP traffic. By triggering an error in how the server handles simultaneous requests, an unauthenticated remote attacker could cause the service to use invalid memory, which could allow the attacker to run code on the affected server.
Windows Deployment Services
Windows Deployment Services
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a race condition in the handling of simultaneous TFTP requests leads to a use-after-free of memory.
Impact
An unauthenticated remote attacker could potentially execute code on a server running the WDS role, but only if they win a race condition.
What the attacker needed
Windows Server with WDS role enabled; Server listening for TFTP traffic; Attacker can send network requests; Win a race condition
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Windows Deployment Services is a role that helps install Windows over the network. A use-after-free happens when a program frees memory but then keeps using it, which can let an attacker control what happens next. Here, an attacker who sends many requests at the same moment might win a timing race and run their own code on the server.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.