CVE-2025-21304 Microsoft DWM Core Library Elevation of Privilege Vulnerability

High 7.8 Published Updated

An attacker can exploit a use-after-free flaw in the Windows DWM Core Library to escalate privileges on affected Windows systems.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-21304?

CVE-2025-21304 is a high-severity use after free vulnerability in Microsoft Windows 10 1607, published on 14 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Microsoft DWM Core Library Elevation of Privilege Vulnerability

Weakness: CWE-416

Which versions are affected by CVE-2025-21304?

It affects 6 products.

Products include Microsoft Windows 10 1607, Microsoft Windows 10 1809, Microsoft Windows 10 21h2, Microsoft Windows 10 22h2, Microsoft Windows Server 2016, Microsoft Windows Server 2019.

How do I fix CVE-2025-21304?

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

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

All Microsoft Windows 10 1607 vulnerabilities

Sources

Also known as GHSA-v77c-hvv5-38w8.

Is CVE-2025-21304 in your software?

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

Check your SBOMs for free