Skip to main content
Mallory
HighExploited in the wildCISA KEVVulnerability

CVE-2021-31199: Microsoft Enhanced Cryptographic Provider Elevation of Privilege Vulnerability

Published Jun 8, 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
EPSS3.0%88th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2021-31199CWE-269

CVE-2021-31199 is an elevation of privilege vulnerability in the Microsoft Enhanced Cryptographic Provider. It affects a Microsoft cryptographic library component and was reported as being exploited in the wild. Available reporting indicates the flaw was associated with exploitation activity related to Adobe Reader zero-day CVE-2021-28550 and affected older Windows platforms, including Windows 7 and Windows Server 2012. Publicly available detail in the provided material does not identify the specific vulnerable function or the exact root cause beyond its classification as an elevation of privilege issue.

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 allows an attacker who already has code execution or an initial foothold on a target system to elevate privileges locally. This can enable execution with higher integrity or more powerful account context than initially obtained, facilitating follow-on actions such as disabling defenses, accessing protected resources, or progressing toward full system compromise.

Mitigation

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

If immediate patching is not possible, reduce opportunities for local post-compromise exploitation by minimizing user privileges, restricting execution of untrusted content, hardening application sandbox escape paths, and prioritizing controls that prevent the initial compromise chain associated with document-based exploitation. Monitor for suspicious privilege escalation activity on affected hosts and isolate high-risk systems until updates can be applied.

Remediation

Patch, then assume compromise.

Apply Microsoft's security update for CVE-2021-31199 on affected Windows systems, including legacy supported platforms identified as impacted such as Windows 7 and Windows Server 2012. Because the vulnerability was exploited in the wild, patching should be prioritized wherever the affected cryptographic provider component is present.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
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 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 1909operating_system
Microsoft CorporationWindows 10 2004operating_system
Microsoft CorporationWindows 10 20h2operating_system
Microsoft CorporationWindows 10 21h1operating_system
Microsoft CorporationWindows 7operating_system
Microsoft CorporationWindows 8.1operating_system
Microsoft CorporationWindows Rt 8.1operating_system
Microsoft CorporationWindows Server 2004operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2008 R2operating_system
Microsoft CorporationWindows Server 2008 Sp2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 20h2operating_system
FAQ

Frequently asked questions

Is CVE-2021-31199 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-31199?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-31199.
Is there a patch for CVE-2021-31199?
Apply Microsoft's security update for CVE-2021-31199 on affected Windows systems, including legacy supported platforms identified as impacted such as Windows 7 and Windows Server 2012. Because the vulnerability was exploited in the wild, patching should be prioritized wherever the affected cryptographic provider component is present.
What products are affected by CVE-2021-31199?
Microsoft Corporation Windows 7, Microsoft Corporation Windows Server 2012, Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, and 14 more.
How severe is CVE-2021-31199?
CVE-2021-31199 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 3.0% (88th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
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 evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware 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.