Windows Remote Desktop Services Elevation of Privilege Vulnerability (CVE-2025-59202)
A use-after-free flaw exists in Windows Remote Desktop Services, which an authorised attacker could exploit locally to gain administrator privileges. Exploitation is difficult because the attacker must win a race condition.
Description
Use after free in Windows Remote Desktop Services allows an authorized attacker to elevate privileges locally.
FAQ
What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploited this vulnerability could gain administrator privileges.
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 an attacker to win a race condition.
Windows Remote Desktop Services
Windows Remote Desktop Services
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 memory management error in Windows Remote Desktop Services where an object is used after being freed, with the race condition widening the window for exploitation.
Impact
An attacker who wins the race could elevate from a local account to administrator privileges on the affected machine.
What the attacker needed
Local access to the target machine; an existing low-privileged account; win a race condition
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 try to make it hold their own data instead. Here the affected program is Windows Remote Desktop Services, and someone who already has a low-level account on the machine could try to turn that into full administrator control. The catch is that the timing has to be just right, which makes it hard to pull off reliably.
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.