CVE-2025-29831
published 2025-05-13CVE-2025-29831: Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.
PriorityP345high7.5CVSS 3.1
AVNACHPRNUIRSUCHIHAH
EPSS
0.84%
53.7th percentile
Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| microsoft | windows_server_2008 | — | — |
| microsoft | windows_server_2008_r2_service_pack_1 | >= 6.1.7601.0 < 6.1.7601.27729 | 6.1.7601.27729 |
| microsoft | windows_server_2012 | — | — |
| microsoft | windows_server_2012 | >= 6.2.9200.0 < 6.2.9200.25475 | 6.2.9200.25475 |
| microsoft | windows_server_2012_r2 | >= 6.3.9600.0 < 6.3.9600.22577 | 6.3.9600.22577 |
| microsoft | windows_server_2016 | < 10.0.14393.8066 | 10.0.14393.8066 |
| microsoft | windows_server_2016 | >= 10.0.14393.0 < 10.0.14393.8066 | 10.0.14393.8066 |
| microsoft | windows_server_2019 | < 10.0.17763.7314 | 10.0.17763.7314 |
| microsoft | windows_server_2019 | >= 10.0.17763.0 < 10.0.17763.7314 | 10.0.17763.7314 |
| microsoft | windows_server_2022 | < 10.0.20348.3692 | 10.0.20348.3692 |
| microsoft | windows_server_2022 | >= 10.0.20348.0 < 10.0.20348.3692 | 10.0.20348.3692 |
| microsoft | windows_server_2022_23h2 | < 10.0.25398.1611 | 10.0.25398.1611 |
| microsoft | windows_server_2025 | < 10.0.26100.4061 | 10.0.26100.4061 |
| microsoft | windows_server_2025 | >= 10.0.26100.0 < 10.0.26100.4061 | 10.0.26100.4061 |
| msrc | windows_server_2008_r2_for_x64-based_systems_service_pack_1 | — | — |
| msrc | windows_server_2012 | — | — |
| msrc | windows_server_2012_r2 | — | — |
| msrc | windows_server_2016 | — | — |
| msrc | windows_server_2019 | — | — |
| msrc | windows_server_2022 | — | — |
| msrc | windows_server_2022_23h2_edition | — | — |
| msrc | windows_server_2025 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
vendor_msrc7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-799h-p6qr-g4rf: Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network
ghsa_unreviewed·2025-05-13
CVE-2025-29831 [HIGH] CWE-416 GHSA-799h-p6qr-g4rf: Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network
Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.
Microsoft
Windows Remote Desktop Services Remote Code Execution Vulnerability
vendor_msrc·2025-05-13·CVSS 7.5
CVE-2025-29831 [HIGH] CWE-416 Windows Remote Desktop Services Remote Code Execution Vulnerability
Windows Remote Desktop Services Remote Code Execution Vulnerability
Description: Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.
FAQ: How could an attacker exploit this vulnerability?
An attacker could successfully exploit this vulnerability by attempting to connect to a system with the Remote Desktop Gateway role, triggering the race condition to create a use-after-free scenario, and then leveraging this to execute arbitrary code.
FAQ: According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do?
Exploitation of the vulnerability requires an admin user to stop or restart the service.
Remote Desktop Gateway Service: Remote Desktop Gateway Service
Microsoft: Microsoft
Cust
No detection rules found.
No public exploits indexed.
2025-05-13
Published