CVE-2021-31199: Microsoft Enhanced Cryptographic Provider Elevation of Privilege Vulnerability
- Vendor
- Microsoft Corporation
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.
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
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.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.