CVE-2025-27480 Windows Remote Desktop Services Remote Code Execution Vulnerability

High 8.1 Published Updated

An unauthorized attacker can execute code over the network via a use-after-free flaw in the Windows Remote Desktop Gateway Service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-27480?

CVE-2025-27480 is a high-severity use after free vulnerability in Microsoft Windows Server 2012, published on 8 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.

Weakness: CWE-416

Which versions are affected by CVE-2025-27480?

It affects 6 products.

Products include Microsoft Windows Server 2012, Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows Server 2022 23h2, Microsoft Windows Server 2025.

How do I fix CVE-2025-27480?

No fix has been published for CVE-2025-27480 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-27480 being exploited?

There is no known exploitation of CVE-2025-27480 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

All Microsoft Windows Server 2012 vulnerabilities

Sources

Also known as GHSA-79xr-cjjw-p6f2.

Is CVE-2025-27480 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free