← Vulnerability feed

Vulnerability record · CVE-2021-31979 · published 14 July 2021

CVE-2021-31979: Windows Kernel memory buffer overflow elevation of privilege

Microsoft · Windows 10 1507

CVE-2021-31979 is a memory buffer overflow (CWE-119) in the Windows kernel that allows a local user to elevate privileges. It affects a broad set of Windows client and server releases, and Microsoft issued patches in July 2021. Because the kernel is the target, successful exploitation yields high-integrity control of the host.

7.8 CVSS 3.1 High CISA KEV since 3 Nov 2021 EPSS 4.5% · top 8.8% CWE-119 · Memory buffer overflow
7.8CVSS 3.1 base score, v2 7.2
4.5%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
16Affected product versions listed by NVD
3References
10 Aug 2026Last modified by NVD

Description

Windows Kernel Elevation of Privilege Vulnerability

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

Automated analysis

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

high priorityIt is confirmed exploited in the wild per CISA KEV and gives full kernel-level control, though it requires an existing local foothold rather than remote access.

What it is

CVE-2021-31979 is a memory buffer overflow (CWE-119) in the Windows kernel that allows a local user to elevate privileges. It affects a broad set of Windows client and server releases, and Microsoft issued patches in July 2021. Because the kernel is the target, successful exploitation yields high-integrity control of the host.

Impact

An attacker who already has a foothold on the machine gains full control of the operating system at kernel level, enabling credential theft, disabling of security controls and further lateral movement. The CVSS vector rates confidentiality, integrity and availability impact as high.

Attack surface

The flaw is reached locally (AV:L) with low attack complexity and low privileges required (PR:L), and no user interaction (UI:N). An attacker must already be able to run code on the target system; it is not remotely reachable on its own.

Exploitation

CVE-2021-31979 is listed in CISA's Known Exploited Vulnerabilities catalog (added 2021-11-03), confirming exploitation in the wild. EPSS gives a 30-day probability of 0.0454 (91st percentile), and CISA records no known ransomware campaign use.

What to do

  • Apply the Microsoft July 2021 security updates for all affected Windows client and server versions listed in the advisory.
  • Prioritize patching of internet-facing and multi-user systems, and any host where untrusted code can execute.
  • Enforce least privilege so that standard users cannot run arbitrary code locally, reducing the precondition for exploitation.
  • Monitor for and remove unpatched or end-of-life builds (for example Windows 7 and Server 2008) that cannot receive current fixes.

Detection

  • Alert on unexpected processes gaining SYSTEM or kernel-level privileges, especially from user-writable directories.
  • Monitor for known local privilege escalation exploit tooling and suspicious driver or kernel object loading.
  • Correlate post-exploitation behavior such as credential dumping, security service tampering or new admin account creation on patched and unpatched hosts.

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-31979 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "Microsoft Windows Kernel 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-31979 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-31979), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.