Skip to main content
Mallory
HighExploited in the wildCISA KEVVulnerability

CVE-2021-28310: Win32k Elevation of Privilege in Desktop Window Manager DirectComposition

Published Apr 13, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS8.4%95th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2021-28310CWE-787 · Out-of-bounds Write

CVE-2021-28310 is a Windows local elevation-of-privilege vulnerability in the Desktop Window Manager component, specifically an out-of-bounds write in dwmcore.dll reachable through the DirectComposition API. The flaw stems from insufficient bounds checking when processing DirectComposition property updates for the D2DVector2 expression type. In the vulnerable path, CPropertySet::UpdateProperty<D2DVector2> in dwmcore.dll does not properly verify that the supplied property identifier is within the number of properties assigned to the resource. Although kernel-mode validation in win32kbase.sys normally constrains invalid property updates, attackers can abuse inconsistencies between kernel-mode and user-mode property handling to create a mismatch in property counts for the same resource. That inconsistency allows malicious SetResourceBufferProperty operations to reach Desktop Window Manager and perform a controlled out-of-bounds write at a controlled offset. Reported exploitation involved heap grooming and placement of fake properties to bypass additional checks and turn the memory corruption into code execution. The vulnerability was observed exploited in the wild and is assessed as suitable for use in exploit chains to escape browser sandboxes or elevate privileges to SYSTEM.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation enables local privilege escalation on a vulnerable Windows system. An attacker who already has code execution in a low-privilege context can leverage the flaw to corrupt memory in Desktop Window Manager and execute code with higher privileges, including SYSTEM-level access. In practical attack chains, this can be used to escape browser sandboxes, defeat application isolation boundaries, inject code into privileged processes, establish persistence, and gain broader control of the host for follow-on actions such as credential theft, lateral movement, or deployment of additional malware.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure by limiting opportunities for untrusted code execution on endpoints, especially within browsers and document-handling applications that could provide the initial foothold for a local privilege-escalation chain. Harden systems with application control, exploit prevention, least-privilege user configurations, and aggressive monitoring for suspicious child-process creation, memory-corruption exploitation behavior, and anomalous interactions with Desktop Window Manager or DirectComposition-related components. These measures only reduce risk and are not a substitute for installing the vendor patch.

Remediation

Patch, then assume compromise.

Apply Microsoft's April 2021 security updates that address CVE-2021-28310. Because the vulnerability was exploited in the wild, affected Windows systems should be updated on an expedited basis. Where enterprise patch management is used, verify that the relevant cumulative update for each supported Windows version has been successfully deployed and that systems have been rebooted if required so the patched Desktop Window Manager and related components are loaded.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 1803operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 1909operating_system
Microsoft CorporationWindows 10 2004operating_system
Microsoft CorporationWindows 10 20h2operating_system
Microsoft CorporationWindows Server 1909operating_system
Microsoft CorporationWindows Server 2004operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 20h2operating_system
FAQ

Frequently asked questions

Is CVE-2021-28310 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2021-28310?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-28310.
Is there a patch for CVE-2021-28310?
Apply Microsoft's April 2021 security updates that address CVE-2021-28310. Because the vulnerability was exploited in the wild, affected Windows systems should be updated on an expedited basis.
What products are affected by CVE-2021-28310?
Microsoft Corporation Windows 10 1803, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 1909, Microsoft Corporation Windows 10 2004, Microsoft Corporation Windows 10 20h2, and 4 more.
How severe is CVE-2021-28310?
CVE-2021-28310 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 8.4% (95th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence2Every report linking this CVE to a named adversary.
Associated malware3Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.