← 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.2% 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-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-2022-26923Microsoft Active Directory Domain Services certificate validation privilege escalationActive Directory Domain Services fails to properly validate certificate attributes, allowing a low-privileged domain user to obtain a certificate tha…KEVEPSS 84%analysed8.8CVE-2021-40444Microsoft MSHTML remote code execution via malicious Office documentCVE-2021-40444 is a remote code execution flaw in the MSHTML browser rendering engine on Microsoft Windows. An attacker can embed a malicious ActiveX…KEVEPSS 98%analysed8.8CVE-2021-34527Windows Print Spooler privileged file operation RCE (PrintNightmare)The Windows Print Spooler service improperly performs privileged file operations, allowing an attacker to execute arbitrary code as SYSTEM. This is t…KEVEPSS 100%analysed8.8CVE-2020-1020Windows Adobe Type Manager Library font parsing out-of-bounds write RCEMicrosoft Windows Adobe Type Manager Library mishandles a specially crafted multi-master font in Adobe Type 1 PostScript format, causing an out-of-bo…KEVEPSS 65%analysed8.8CVE-2019-0903Windows GDI memory handling remote code executionWindows Graphics Device Interface (GDI) mishandles objects in memory, allowing remote code execution. The record gives no root-cause detail beyond th…KEVEPSS 22%analysed

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