A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32157

CVE-2026-32157: Remote Desktop Client UAF Vulnerability

CVE-2026-32157 is a use-after-free vulnerability in Microsoft Remote Desktop Client that enables remote code execution over a network. This article covers the technical details, affected versions, impact, and mitigation.

Updated: May 14, 2026

CVE-2026-32157 Overview

CVE-2026-32157 is a use-after-free vulnerability [CWE-416] in the Microsoft Remote Desktop Client that enables an unauthenticated remote attacker to execute arbitrary code on a target system. Exploitation requires user interaction, typically tricking a victim into connecting to an attacker-controlled Remote Desktop Protocol (RDP) server. The flaw affects a wide range of Windows client and server versions, including Windows 10, Windows 11, and Windows Server editions from 2012 through 2025.

Critical Impact

Successful exploitation grants the attacker code execution in the context of the connecting user, leading to full compromise of confidentiality, integrity, and availability on the client system.

Affected Products

  • Microsoft Remote Desktop Client (Windows)
  • Microsoft Windows 10 (1607, 1809, 21H2, 22H2) and Windows 11 (23H2, 24H2, 25H2, 26H1)
  • Microsoft Windows Server 2012, 2016, 2019, 2022, 2022 23H2, and 2025

Discovery Timeline

  • 2026-04-14 - CVE-2026-32157 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-32157

Vulnerability Analysis

The vulnerability resides in the Microsoft Remote Desktop Client, the component responsible for establishing and managing RDP sessions from a Windows host. A use-after-free condition occurs when the client references a memory object after that object has already been freed. An attacker who controls the RDP server side can craft protocol responses that trigger the dangling reference during session negotiation or data exchange.

Once the freed memory is reused, the attacker can place controlled data at the predictable allocation slot. Dereferencing the stale pointer then redirects program flow to attacker-controlled content, resulting in arbitrary code execution within the client process.

Root Cause

The root cause is improper object lifetime management inside the Remote Desktop Client. A code path releases an object while another component retains a reference to it. When that reference is subsequently used, the client operates on memory that no longer belongs to the original object, satisfying the conditions for a classic use-after-free [CWE-416].

Attack Vector

The attack vector is network-based but requires user interaction. A victim must initiate an RDP connection to a malicious or compromised server, for example by clicking a crafted .rdp file, a phishing link, or a malicious shortcut. No prior authentication on the target system is required. Once the client connects, the malicious server sends crafted RDP messages that trigger the use-after-free and deliver the attacker's payload.

No public proof-of-concept exploit is currently available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Technical details are described in prose only; refer to the Microsoft CVE-2026-32157 Advisory for vendor guidance.

Detection Methods for CVE-2026-32157

Indicators of Compromise

  • Unexpected outbound RDP connections from user workstations to unknown or low-reputation external IP addresses on TCP port 3389.
  • mstsc.exe spawning unusual child processes such as cmd.exe, powershell.exe, or script interpreters shortly after an RDP session begins.
  • Crashes or abnormal termination events for mstsc.exe recorded in the Windows Application event log.
  • Delivery of .rdp attachments via email or download, particularly from external senders.

Detection Strategies

  • Hunt for process lineage anomalies where the Remote Desktop Client (mstsc.exe) is the parent of interactive shells, LOLBins, or reconnaissance tools.
  • Correlate .rdp file execution events with subsequent outbound network connections to untrusted destinations.
  • Monitor for memory integrity violations and crash dumps tied to the RDP client binary on patched and unpatched endpoints.

Monitoring Recommendations

  • Log and alert on egress RDP traffic that bypasses approved jump hosts or VPN concentrators.
  • Enable Windows Defender Exploit Guard and Attack Surface Reduction rules that restrict child-process creation from Office and email clients to block .rdp lure delivery chains.
  • Centralize Sysmon process and network telemetry from endpoints to support retroactive hunts once additional indicators emerge.

How to Mitigate CVE-2026-32157

Immediate Actions Required

  • Apply the security update referenced in the Microsoft CVE-2026-32157 Advisory across all affected Windows client and server systems.
  • Block outbound TCP port 3389 at the perimeter for hosts that do not require external RDP connectivity.
  • Train users to avoid opening unsolicited .rdp files or RDP shortcuts received by email or chat.

Patch Information

Microsoft has released updates for all supported Windows versions listed in the advisory. Administrators should deploy the cumulative or monthly security rollup that includes the fix through Windows Update, Windows Server Update Services (WSUS), or Microsoft Intune. Verify deployment by confirming the affected build numbers have advanced to the patched revision documented by Microsoft.

Workarounds

  • Restrict outbound RDP connections from end-user workstations to an allowlist of approved internal servers using host or network firewall rules.
  • Disable handling of .rdp file attachments in mail gateways and block them at secure email gateways.
  • Require RDP sessions to traverse Remote Desktop Gateway or a Zero Trust Network Access broker, reducing direct exposure to arbitrary servers.
bash
# Configuration example: block outbound RDP from a Windows endpoint
New-NetFirewallRule -DisplayName "Block Outbound RDP (CVE-2026-32157)" `
  -Direction Outbound `
  -Protocol TCP `
  -RemotePort 3389 `
  -Action Block `
  -Profile Any

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechMicrosoft Remote Desktop Client

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Vendor Resources
  • Microsoft CVE-2026-32157 Advisory
  • Related CVEs
  • CVE-2025-58718: Remote Desktop Client Use After Free Flaw

  • CVE-2025-48817: Remote Desktop Client Path Traversal Flaw

  • CVE-2023-28267: Remote Desktop Client Info Disclosure Flaw

  • CVE-2025-32715: Remote Desktop Client Info Disclosure
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English