Windows Remote Desktop Services Remote Code Execution Vulnerability (CVE-2026-58626)
A use-after-free flaw exists in Windows Remote Desktop Services. An authenticated attacker could connect to a target over RDP and send crafted requests to trigger the condition and execute arbitrary code on the target system.
Description
Use after free in Windows Remote Desktop Services allows an authorized attacker to execute code over a network.
FAQ
How could an attacker exploit this vulnerability? An authenticated attacker could exploit this vulnerability by connecting to a target system via Remote Desktop Protocol (RDP) and sending specially crafted requests that trigger a use-after-free condition in the Remote Desktop service, allowing the attacker to execute arbitrary code on the target system.
FAQ
According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? An attacker must first have access to a Windows system as an authenticated user and then use that system to establish a connection to the target server and send the malicious data that triggers the vulnerability.
Windows Remote Desktop Services
Windows Remote Desktop 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 memory management error in the Remote Desktop service where an object is used after being freed, triggered by crafted RDP requests.
Impact
An authenticated attacker could execute arbitrary code on the target system over the network.
What the attacker needed
Valid credentials on a Windows system; network access to the target over RDP
The fix
Microsoft requires customers to take action, which in practice means applying the provided security update.
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.
Remote Desktop lets someone control another Windows computer over the network. A use-after-free is a memory bug where the program keeps using a chunk of memory after it has been freed, which can let an attacker take control of what the program does next. Here, someone who already has a valid login could send malformed requests to the remote desktop service and potentially 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.