The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-21225

CVE-2025-21225: Windows Server 2016 RD Gateway DOS Flaw

CVE-2025-21225 is a denial of service vulnerability in Windows Server 2016 Remote Desktop Gateway that enables attackers to disrupt service availability. This article covers technical details, affected systems, and mitigation.

Published: April 1, 2026

CVE-2025-21225 Overview

CVE-2025-21225 is a Denial of Service vulnerability affecting Windows Remote Desktop Gateway (RD Gateway). This flaw allows a remote, unauthenticated attacker to disrupt the availability of RD Gateway services through a network-based attack. The vulnerability is classified under CWE-843 (Type Confusion), indicating improper handling of data types within the RD Gateway component that can be exploited to cause service disruption.

Remote Desktop Gateway is a critical component in enterprise environments, providing secure remote access to internal network resources. When exploited, this vulnerability can prevent legitimate users from establishing remote connections, potentially impacting business continuity and remote workforce productivity.

Critical Impact

Attackers can remotely disrupt RD Gateway services without authentication, potentially blocking all remote desktop connections to the affected server and impacting organizational remote access capabilities.

Affected Products

  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022
  • Microsoft Windows Server 2022 23H2
  • Microsoft Windows Server 2025

Discovery Timeline

  • 2025-01-14 - CVE-2025-21225 published to NVD
  • 2025-01-27 - Last updated in NVD database

Technical Details for CVE-2025-21225

Vulnerability Analysis

This vulnerability stems from a Type Confusion weakness (CWE-843) within the Windows Remote Desktop Gateway service. Type confusion occurs when a program allocates or initializes a resource as one type but later accesses it as an incompatible type, leading to unexpected behavior.

In the context of RD Gateway, this type confusion can be triggered remotely over the network without requiring user interaction or authentication. The attack has high complexity, meaning specific conditions must be met for successful exploitation, but no privileges are required from the attacker's perspective.

The impact is limited to availability—there is no evidence of data confidentiality or integrity compromise. However, successfully exploiting this vulnerability results in high availability impact, potentially causing the RD Gateway service to become unresponsive or crash entirely.

Root Cause

The root cause is a Type Confusion vulnerability (CWE-843) in the RD Gateway service's processing logic. When handling certain network requests, the service improperly interprets data as an incorrect type, leading to a denial of service condition. This type of vulnerability typically occurs when input data structures are not properly validated before type casting or when object polymorphism is handled incorrectly.

Attack Vector

The attack is network-based and can be executed remotely without authentication. An attacker would need to send specially crafted network requests to the RD Gateway service. While the attack complexity is high (requiring specific conditions to be met), no user interaction is needed.

The exploitation mechanism involves sending malformed requests to the RD Gateway that trigger the type confusion condition. When the service processes these requests incorrectly, it leads to service disruption. The attack does not cross security boundaries beyond the initial network access, as indicated by the unchanged scope in the vulnerability assessment.

Detection Methods for CVE-2025-21225

Indicators of Compromise

  • Unexpected RD Gateway service crashes or restarts logged in Windows Event Viewer
  • Abnormal network traffic patterns targeting RD Gateway ports (typically TCP 443 or UDP 3391)
  • Multiple failed connection attempts from external sources followed by service unavailability
  • System event logs showing application errors related to TSGateway.exe or related RD Gateway components

Detection Strategies

  • Monitor Windows Event Viewer for RD Gateway service termination events and Application Error events referencing gateway components
  • Implement network intrusion detection rules to identify anomalous traffic patterns to RD Gateway endpoints
  • Deploy endpoint detection solutions capable of identifying process crashes and abnormal service behavior
  • Configure SIEM alerts for correlating multiple RD Gateway connection failures with service availability issues

Monitoring Recommendations

  • Enable verbose logging for Remote Desktop Gateway services to capture detailed connection and error information
  • Monitor service availability using health checks targeting the RD Gateway endpoint at regular intervals
  • Implement real-time alerting for RD Gateway service state changes or unexpected restarts
  • Track network connection metrics to RD Gateway services for baseline deviation analysis

How to Mitigate CVE-2025-21225

Immediate Actions Required

  • Apply the Microsoft security update for CVE-2025-21225 from the January 2025 Patch Tuesday release
  • Review RD Gateway access controls and ensure the service is not exposed to untrusted networks unnecessarily
  • Implement network segmentation to limit attack surface exposure of RD Gateway servers
  • Consider temporarily restricting RD Gateway access to known IP ranges if patching is delayed

Patch Information

Microsoft has released security updates to address CVE-2025-21225 as part of their regular update cycle. Affected organizations should apply the appropriate patches for their Windows Server versions as soon as possible.

For detailed patch information and download links, refer to the Microsoft Security Update Guide for CVE-2025-21225.

The following Windows Server versions require updates:

  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2022 23H2
  • Windows Server 2025

Workarounds

  • Restrict network access to RD Gateway services using firewall rules to allow only trusted IP ranges
  • Implement a reverse proxy or web application firewall in front of RD Gateway to filter malicious requests
  • Consider using VPN connections as an alternative access method while awaiting patch deployment
  • Deploy RD Gateway behind Azure Application Gateway or similar solutions with DDoS protection capabilities
bash
# Example: Restrict RD Gateway access using Windows Firewall
# Allow RD Gateway only from specific corporate IP ranges
netsh advfirewall firewall add rule name="RD Gateway - Restrict Access" ^
  dir=in action=allow protocol=TCP localport=443 ^
  remoteip=10.0.0.0/8,192.168.0.0/16,172.16.0.0/12 ^
  program="%SystemRoot%\System32\TSGateway.exe" enable=yes

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechWindows

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-843

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update CVE-2025-21225
  • Related CVEs
  • CVE-2026-2636: Windows CLFS.sys Driver DoS Vulnerability

  • CVE-2026-21243: Windows Server 2019 LDAP DOS Vulnerability

  • CVE-2026-20846: Windows 10 1607 GDI+ DoS Vulnerability

  • CVE-2026-21525: Windows 10 1607 DOS Vulnerability
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
  • 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