CVE-2025-58737 Remote Desktop Protocol Remote Code Execution Vulnerability

High 7.0 Published Updated

An attacker can execute code locally via a use-after-free flaw in Windows Remote Desktop, requiring immediate patching for Windows Server environments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-58737?

CVE-2025-58737 is a high-severity use after free vulnerability in Microsoft Windows Server 2012, published on 14 Oct 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Use after free in Windows Remote Desktop allows an unauthorized attacker to execute code locally.

Weakness: CWE-416

Which versions are affected by CVE-2025-58737?

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-58737?

No fix has been published for CVE-2025-58737 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-58737 being exploited?

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

All Microsoft Windows Server 2012 vulnerabilities

Sources

Also known as GHSA-4wrm-6rc2-jx27.

Is CVE-2025-58737 in your software?

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

Check your SBOMs for free