Skip to main content
Mallory
HighVulnerability

CVE-2026-42985: Remote Code Execution in Microsoft Remote Desktop Client

Published Jun 9, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS1.3%70th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2026-42985CWE-416 · Use After Free

CVE-2026-42985 is a critical remote code execution vulnerability in Microsoft Remote Desktop Client caused by a heap memory corruption condition identified as a use-after-free. The flaw can be triggered over the network when a victim uses a vulnerable Remote Desktop Client to connect to an attacker-controlled or otherwise malicious Remote Desktop server. Available reporting also describes the issue as a heap-based buffer overflow in the client’s processing of server-supplied data during the RDP connection sequence, including scenarios involving malformed certificate material presented by a rogue server. Successful exploitation results in arbitrary code execution on the victim system in the context of the client machine.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an unauthorized remote attacker to execute arbitrary code on the victim endpoint when the vulnerable Remote Desktop Client connects to a malicious server. This can lead to full compromise of the affected workstation, including theft of sensitive data, installation of malware, lateral movement into corporate environments, and loss of confidentiality, integrity, and availability on the impacted system. Reporting specifically notes the risk of access to sensitive corporate systems in environments where users initiate RDP sessions to untrusted hosts or where maliciously relayed RDP traffic can reach clients.

Mitigation

If you can’t patch tonight, do this now.

Until patches are fully deployed, reduce exposure by preventing users and systems from initiating Remote Desktop connections to untrusted or attacker-controlled hosts. Restrict outbound RDP usage to approved destinations, segment remote access workflows, and monitor for suspicious or unexpected RDP connection attempts and relayed RDP traffic. Environments with remote users should treat connections to unknown servers as high risk. If operationally feasible, temporarily disable or tightly control Remote Desktop Client use on high-value systems until the update is applied.

Remediation

Patch, then assume compromise.

Apply Microsoft's June 2026 security update for the affected Remote Desktop Client versions. Organizations should ensure all supported Windows endpoints and any other affected Microsoft client platforms receiving Remote Desktop Client updates are brought to the patched build level through Microsoft Update, enterprise patch management, or manual deployment where necessary. Prioritize remediation because Microsoft assessed exploitation as more likely.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationRemote Desktopapplication
Microsoft CorporationRemote Desktop Clientapplication
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 23h2operating_system
Microsoft CorporationWindows 11 24h2operating_system
Microsoft CorporationWindows 11 25h2operating_system
Microsoft CorporationWindows 11 26h1operating_system
Microsoft CorporationWindows Appapplication
Microsoft CorporationWindows App Client For Windows Desktopapplication
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 2025operating_system
FAQ

Frequently asked questions

Is CVE-2026-42985 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-42985 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-42985?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-42985.
Is there a patch for CVE-2026-42985?
Apply Microsoft's June 2026 security update for the affected Remote Desktop Client versions. Organizations should ensure all supported Windows endpoints and any other affected Microsoft client platforms receiving Remote Desktop Client updates are brought to the patched build level through Microsoft Update, enterprise patch management, or manual deployment where necessary.
What products are affected by CVE-2026-42985?
Microsoft Corporation Remote Desktop, Microsoft Corporation Remote Desktop Client, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, and 13 more.
How severe is CVE-2026-42985?
CVE-2026-42985 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 1.3% (70th percentile) as of Sep 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.