What’s Vulnerable › Vulnerabilities
CVE-2025-29831: Windows Remote Desktop Services Remote Code Execution Vulnerability
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-13 · updated 2026-06-17
- Weakness: CWE-416
Description
Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.
Affected products
- Microsoft Windows Server 2008: r2-sp1
- Microsoft Windows Server 2012: r2
- Microsoft Windows Server 2016: before 10.0.14393.8066 — fixed in 10.0.14393.8066
- Microsoft Windows Server 2019: before 10.0.17763.7314 — fixed in 10.0.17763.7314
- Microsoft Windows Server 2022: before 10.0.20348.3692 — fixed in 10.0.20348.3692
- Microsoft Windows Server 2022, 23H2 Edition (Server Core installation): before 10.0.25398.1611 — fixed in 10.0.25398.1611
- Microsoft Windows Server 2025: before 10.0.26100.4061 — fixed in 10.0.26100.4061
- Microsoft Windows Server 2008 R2 Service Pack 1: from 6.1.7601.0 before 6.1.7601.27729 — fixed in 6.1.7601.27729
- Microsoft Windows Server 2012: from 6.2.9200.0 before 6.2.9200.25475 — fixed in 6.2.9200.25475
- Microsoft Windows Server 2012 R2: from 6.3.9600.0 before 6.3.9600.22577 — fixed in 6.3.9600.22577
- Microsoft Windows Server 2016: from 10.0.14393.0 before 10.0.14393.8066 — fixed in 10.0.14393.8066
- Microsoft Windows Server 2019: from 10.0.17763.0 before 10.0.17763.7314 — fixed in 10.0.17763.7314
- Microsoft Windows Server 2022: from 10.0.20348.0 before 10.0.20348.3692 — fixed in 10.0.20348.3692
- Microsoft Windows Server 2022, 23H2 Edition (Server Core installation): from 10.0.25398.0 before 10.0.25398.1611 — fixed in 10.0.25398.1611
- Microsoft Windows Server 2025: from 10.0.26100.0 before 10.0.26100.4061 — fixed in 10.0.26100.4061
How to fix
Upgrade to a fixed version: Microsoft Windows Server 2016 10.0.14393.8066; Microsoft Windows Server 2019 10.0.17763.7314; Microsoft Windows Server 2022 10.0.20348.3692; Microsoft Windows Server 2022, 23H2 Edition (Server Core installation) 10.0.25398.1611; Microsoft Windows Server 2025 10.0.26100.4061; Microsoft Windows Server 2008 R2 Service Pack 1 6.1.7601.27729; Microsoft Windows Server 2012 6.2.9200.25475; Microsoft Windows Server 2012 R2 6.3.9600.22577; Microsoft Windows Server 2016 10.0.14393.8066; Microsoft Windows Server 2019 10.0.17763.7314; Microsoft Windows Server 2022 10.0.20348.3692; Microsoft Windows Server 2022, 23H2 Edition (Server Core installation) 10.0.25398.1611. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-29831 or the next vulnerability affects your stack