banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2025-29966

CVE-2025-29966: Microsoft Remote Desktop RCE Vulnerability

CVE-2025-29966 is a heap-based buffer overflow RCE vulnerability in Windows Remote Desktop that enables attackers to execute arbitrary code over a network. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-29966 Overview

CVE-2025-29966 is a heap-based buffer overflow vulnerability affecting Microsoft Windows Remote Desktop that enables unauthorized attackers to execute arbitrary code over a network. This vulnerability exists in the Remote Desktop Protocol (RDP) client implementation and can be triggered when a user connects to a malicious RDP server. The flaw allows attackers to corrupt heap memory, potentially leading to full system compromise without requiring authentication.

Critical Impact

This vulnerability enables remote code execution through the Windows Remote Desktop client, potentially allowing attackers to gain complete control of affected systems when users connect to malicious RDP servers.

Affected Products

  • Microsoft Remote Desktop Client
  • Microsoft Windows App
  • Microsoft Windows 10 (versions 1507, 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (versions 22H2, 23H2, 24H2)
  • Microsoft Windows Server 2008 R2 SP1
  • Microsoft Windows Server 2012 and 2012 R2
  • Microsoft Windows Server 2016, 2019, 2022, 2022 23H2, and 2025

Discovery Timeline

  • May 13, 2025 - CVE-2025-29966 published to NVD
  • May 19, 2025 - Last updated in NVD database

Technical Details for CVE-2025-29966

Vulnerability Analysis

This vulnerability is classified under CWE-122 (Heap-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The flaw resides in the Windows Remote Desktop client's handling of certain data structures during RDP session negotiation or data processing. When a user connects to a malicious RDP server, specially crafted responses can trigger the heap buffer overflow condition.

The vulnerability requires user interaction, specifically requiring a victim to initiate a Remote Desktop connection to an attacker-controlled server. However, no prior authentication is required from the attacker's perspective, making this vulnerability particularly dangerous in scenarios where users may be tricked into connecting to malicious RDP endpoints through phishing or other social engineering techniques.

Root Cause

The root cause stems from improper bounds checking in the Remote Desktop client when processing server responses. The application fails to properly validate the size of incoming data before writing it to a heap-allocated buffer, allowing an attacker to overflow the buffer boundaries. This out-of-bounds write condition can corrupt adjacent heap metadata or application data, enabling arbitrary code execution.

Attack Vector

The attack is network-based and requires user interaction. An attacker would typically:

  1. Set up a malicious RDP server configured to send crafted responses
  2. Lure a victim to connect to the malicious server through phishing emails, malicious links, or compromised legitimate services
  3. When the victim's Remote Desktop client connects, the server sends specially crafted data that triggers the heap overflow
  4. The overflow corrupts heap memory, allowing the attacker to execute arbitrary code in the context of the user running the RDP client

The attack does not require any privileges on the victim's system, and exploitation can lead to complete system compromise with the privileges of the user running the Remote Desktop client.

Detection Methods for CVE-2025-29966

Indicators of Compromise

  • Unusual Remote Desktop client crashes or unexpected terminations during connection attempts
  • Connections to suspicious or unknown RDP server addresses in network logs
  • Unexpected child processes spawned by mstsc.exe or Remote Desktop client applications
  • Memory access violations or heap corruption errors in Windows Event Logs related to RDP components

Detection Strategies

  • Monitor for anomalous RDP client behavior including unexpected crashes or high memory consumption
  • Implement network monitoring to detect connections to known malicious or suspicious RDP endpoints
  • Deploy endpoint detection rules to identify exploitation attempts targeting heap overflow conditions in RDP clients
  • Review application crash dumps for signs of heap corruption in Remote Desktop-related processes

Monitoring Recommendations

  • Enable Windows Event Log collection for Application and System logs, filtering for Remote Desktop client events
  • Configure network security tools to log and alert on outbound RDP connections (TCP 3389) to non-approved destinations
  • Implement SentinelOne's real-time monitoring capabilities to detect memory corruption exploitation attempts
  • Establish baseline RDP connection patterns and alert on deviations indicating potential malicious activity

How to Mitigate CVE-2025-29966

Immediate Actions Required

  • Apply Microsoft security updates immediately for all affected Windows versions and Remote Desktop clients
  • Restrict Remote Desktop client usage to trusted, approved RDP servers only
  • Educate users about the risks of connecting to untrusted RDP endpoints and recognizing phishing attempts
  • Consider blocking outbound RDP connections at the network perimeter except to known-good destinations

Patch Information

Microsoft has released security updates addressing this vulnerability. Detailed patch information is available through the Microsoft Security Response Center advisory for CVE-2025-29966. Organizations should prioritize applying these updates across all affected systems, including both Windows operating systems and standalone Remote Desktop client applications.

Workarounds

  • Implement strict network controls limiting RDP client connections to pre-approved, trusted servers
  • Use Remote Desktop Gateway servers with certificate validation to prevent connections to arbitrary endpoints
  • Deploy application whitelisting to control which applications can initiate outbound network connections
  • Consider using alternative remote access solutions with additional security controls until patches are applied
bash
# Block outbound RDP connections except to trusted servers using Windows Firewall
# Run in PowerShell as Administrator

# First, block all outbound RDP by default
New-NetFirewallRule -DisplayName "Block Outbound RDP" -Direction Outbound -LocalPort 3389 -Protocol TCP -Action Block

# Then, allow connections only to trusted RDP servers (replace with your approved server IPs)
New-NetFirewallRule -DisplayName "Allow RDP to Trusted Server" -Direction Outbound -LocalPort 3389 -Protocol TCP -RemoteAddress "192.168.1.100" -Action Allow

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Remote Desktop

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.22%

  • 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-122

  • CWE-787
  • Vendor Resources
  • Microsoft Security Update CVE-2025-29966
  • Latest CVEs
  • CVE-2026-29612: OpenClaw DOS Vulnerability

  • CVE-2026-29606: OpenClaw Auth Bypass Vulnerability

  • CVE-2026-28486: OpenClaw Path Traversal Vulnerability

  • CVE-2026-28481: OpenClaw Information Disclosure Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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
  • English
  • 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