Skip to content
Memory corruption Advisory Advanced CVE-2026-97789

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.

haowei yan Follow

Originally disclosed on Microsoft

High 7.5 View original

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

The original report as published on the Microsoft Security Response Center, by haowei yan & xiaozun tang. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More by haowei yan

View all

65 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.