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

Windows Remote Desktop Services Elevation of Privilege Vulnerability (CVE-2026-40398)

A heap-based buffer overflow exists in Windows Remote Desktop Services. An authorised attacker could exploit it locally to elevate privileges to SYSTEM.

Calif.io Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

Heap-based buffer overflow in Windows Remote Desktop allows an authorized attacker to elevate privileges locally.

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

Windows Remote Desktop

Windows Remote Desktop

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Calif.io in collaboration with Claude and Anthropic Research. 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 Windows Remote Desktop Services that is not properly bounded.

Impact

An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

What the attacker needed

Local access to the machine; authorised user account

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 buffer overflow is when a program writes more data into a memory area than it can hold, which can corrupt nearby memory. Here the flaw is in Windows Remote Desktop, and someone who can already log on to the machine could use it to gain the highest level of control, called SYSTEM.

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 Calif.io

View all

1 more disclosed report, 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.