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

Remote Desktop Client Remote Code Execution Vulnerability (CVE-2026-32157)

A use-after-free flaw existed in the Remote Desktop Client. An attacker who controls a malicious Remote Desktop server could gain code execution on a victim's machine when that victim connects to the server using the vulnerable client.

pwn2addr Follow

Originally disclosed on Microsoft

Critical 8.8 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 vector is network (AV:N) and the user interaction is required (UI:R). What is the target context of the remote code execution? This attack requires an authorized user on the client to connect to a malicious server, and that could allow the attacker to gain code execution on the client.

FAQ

How could an attacker exploit this vulnerability? In the case of a Remote Desktop connection, an attacker with control of a Remote Desktop Server could trigger a remote code execution (RCE) on the machine when a victim connects to the attacking server with a vulnerable Remote Desktop Client.

Remote Desktop Client

Remote Desktop Client

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by pwn2addr. 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's handling of data from the server, where memory is accessed after being released.

Impact

An attacker controlling a Remote Desktop server could execute code on the connecting client's machine, though the victim must first choose to connect to that server.

What the attacker needed

Victim connects to attacker's RDP server; vulnerable Remote Desktop Client

The fix

Microsoft marked customer action as required, implying a patched client should be installed.

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.

The Remote Desktop Client is the program you use to connect to another computer remotely. A use-after-free is a memory bug where the program keeps using a piece of memory after it has been freed, which an attacker can abuse to run their own code. Here the attacker runs the server the victim connects to, so they can prepare the bad memory state in advance.

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 pwn2addr

View all

71 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.