Remote Desktop Client Remote Code Execution Vulnerability (CVE-2026-97789)
A use-after-free flaw exists in the Remote Desktop Client that lets an unauthorised attacker execute code over a network. Exploitation requires the attacker to already have access to the victim's machine and the victim to have started an RDP session within a limited time window.
Originally disclosed on Microsoft
Description
Use after free in Remote Desktop Client 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 multiple conditions to be met. The attacker must have access to a user's machine and the user must have initiated an RDP session. The attack must also be carried out within a certain amount of time from the initiation of the RDP session.
Remote Desktop Client
Remote Desktop Client
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 use-after-free in the Remote Desktop Client where memory is accessed after being released during an RDP session.
Impact
An attacker with access to the victim's machine could execute code over a network, but only if the user has initiated an RDP session and the attack happens within a limited time.
What the attacker needed
Attacker has access to victim's machine; victim starts an RDP session; attack within a limited time window
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.
A use-after-free is a memory bug where a program keeps using a piece of memory after it has been freed, so an attacker can sometimes put their own data there and take control. Here the affected program is the Remote Desktop Client, the app used to connect to another computer's desktop. The attacker needs to already be on the victim's machine and the victim must have just started a remote desktop session, which makes it hard to pull off.
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.