← Vulnerability feed

Vulnerability record · CVE-2021-31199 · published 8 June 2021

CVE-2021-31199: Microsoft Enhanced Cryptographic Provider local privilege escalation

Microsoft · Windows 10 1507

CVE-2021-31199 is an elevation of privilege flaw in the Microsoft Enhanced Cryptographic Provider affecting a broad set of Windows client and server releases. The record gives no root-cause detail beyond the component name, so the exact defect is unknown, but a local attacker with low privileges can exploit it to gain additional rights on the host.

5.2 CVSS 3.1 Medium CISA KEV since 3 Nov 2021 EPSS 3.0% · top 13.3%
5.2CVSS 3.1 base score, v2 4.6
3.0%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
16Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

Description

Microsoft Enhanced Cryptographic Provider Elevation of Privilege Vulnerability

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: medium.

high priorityThe flaw is listed in CISA KEV as exploited in the wild and affects a wide range of Windows versions, though it requires local low-privileged access and has only medium CVSS severity.

What it is

CVE-2021-31199 is an elevation of privilege flaw in the Microsoft Enhanced Cryptographic Provider affecting a broad set of Windows client and server releases. The record gives no root-cause detail beyond the component name, so the exact defect is unknown, but a local attacker with low privileges can exploit it to gain additional rights on the host.

Impact

An attacker who already has a foothold and low-privileged code execution can elevate to a higher integrity level on the affected Windows system. The scope change in the CVSS vector indicates the impact can cross a security boundary, though confidentiality and integrity effects are rated low.

Attack surface

The vector AV:L/AC:L/PR:L/UI:N means the flaw is reached locally, requires low privileges, and needs no user interaction. It is not remotely exploitable on its own; an attacker must already be running code on the target machine.

Exploitation

CISA added this CVE to the Known Exploited Vulnerabilities catalog on 2021-11-03 with a remediation due date of 2021-11-17, indicating exploitation in the wild. EPSS gives a 30-day exploitation probability of about 2.95 percent (86th percentile), and no ransomware campaign use is recorded.

What to do

  • Apply the Microsoft security update for CVE-2021-31199 on all affected Windows client and server versions; this is the primary fix.
  • Prioritize patching systems where untrusted users or low-privileged processes can execute code, since exploitation requires local access.
  • Restrict interactive logon and code execution rights to the minimum necessary to reduce the pool of accounts that can trigger the flaw.
  • Monitor for and remove unpatched or end-of-life Windows builds listed as affected, such as Windows 7 and Windows Server 2008/2012, where feasible.

Detection

  • Hunt for unexpected elevation of low-privileged processes to higher integrity levels, especially involving cryptographic provider DLLs or services.
  • Alert on suspicious process creation where a medium-integrity process spawns a high-integrity or SYSTEM-level child process outside normal administrative workflows.
  • Review Windows security event logs for anomalous token or privilege changes on hosts running affected Windows versions.
  • Correlate local privilege escalation indicators with known post-exploitation tooling behavior on endpoints that have not applied the June 2021 updates.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2021-31199 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "Microsoft Enhanced Cryptographic Provider Privilege Escalation Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 17 November 2021.

Affected products

16 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-31199 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2020-0796Microsoft SMBv3 buffer overflow remote code executionCVE-2020-0796 is a remote code execution flaw in how Microsoft's SMB 3.1.1 protocol handles certain requests, caused by a memory buffer overflow (CWE…KEVEPSS 100%analysed9.8CVE-2026-33824Double free in Windows IKE Extension enables remote code executionA double free flaw (CWE-415) exists in the Windows IKE Extension, reachable over the network by an unauthenticated attacker. Successful exploitation …KEVEPSS 1.6%analysed9.8CVE-2021-31166Microsoft Windows HTTP Protocol Stack use-after-free RCEThe HTTP Protocol Stack in Microsoft Windows 10 2004/20H2 and Windows Server 2004/20H2 contains a use-after-free (CWE-416) that allows remote code ex…KEVEPSS 100%analysed9.8CVE-2017-8543Windows Search memory handling flaw allows remote code executionWindows Search fails to properly handle objects in memory, allowing an unauthenticated remote attacker to execute code on affected Windows systems. T…KEVEPSS 74%analysed8.8CVE-2026-21510Windows Shell protection mechanism failure allows security feature bypassWindows Shell contains a protection mechanism failure (CWE-693) that lets an unauthorized attacker bypass a security feature over a network. The flaw…KEVEPSS 24%analysed8.8CVE-2026-21513Microsoft MSHTML security feature bypass on WindowsCVE-2026-21513 is a protection mechanism failure (CWE-693) in the Microsoft MSHTML Framework that lets an unauthorized attacker bypass a security fea…KEVEPSS 16%analysed8.8CVE-2025-33073Windows SMB improper access control allows privilege elevationWindows SMB contains an improper access control flaw (CWE-284) that lets an authorized attacker elevate privileges over the network. Microsoft rates …KEVEPSS 83%analysed8.8CVE-2025-33053Microsoft Windows WebDAV Internet Shortcut File Path Control RCEWindows Internet Shortcut (.url) files allow external control of a file name or path, which an unauthorized attacker can abuse to execute code over a…KEVEPSS 87%analysed

Source: NIST National Vulnerability Database (record CVE-2021-31199), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.