Skip to content
Memory corruption Advisory Advanced CVE-2025-29966

Remote Desktop Client Remote Code Execution Vulnerability (CVE-2025-29966)

A heap-based buffer overflow exists in the Windows Remote Desktop client. An attacker who controls a malicious RDP server could execute code on a victim's machine when the victim connects to that server.

Nicholas Vadasz Follow

Originally disclosed on Microsoft

Critical 8.8 View original

Description

Heap-based buffer overflow in Windows Remote Desktop allows an unauthorized attacker to execute code over a network.

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 RDP client machine when a victim connects to the attacker's server with the vulnerable Remote Desktop Client.

Windows Remote Desktop

Windows Remote Desktop

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Nicholas Vadasz. 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 heap-based buffer overflow in the Remote Desktop client when processing data from a server.

Impact

An attacker could execute code on the victim's machine, but only if the victim connects to the attacker's RDP server.

What the attacker needed

Victim connects to attacker's RDP server

The fix

Microsoft released a security update; the text says customer action is required, so users should install it.

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 you connect to another computer over the network. A memory bug in the client software means that if you connect to a bad server, that server can run its own code on your computer. You would need to be tricked into connecting to the attacker's 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.

More by Nicholas Vadasz

View all

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