The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-31956

CVE-2021-31956: Windows NTFS Privilege Escalation Flaw

CVE-2021-31956 is a privilege escalation vulnerability in Windows NTFS affecting Windows 10 1507 that allows attackers to gain elevated system privileges. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-31956 Overview

CVE-2021-31956 is a Windows NTFS Elevation of Privilege Vulnerability that affects the Windows NT File System (NTFS) driver. This vulnerability allows a local attacker with low privileges to escalate their access to SYSTEM-level privileges on affected Windows systems. The vulnerability exists due to an integer underflow (CWE-191) in the NTFS driver, which can be exploited to achieve arbitrary kernel memory manipulation.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Organizations should treat patching as an urgent priority.

Affected Products

  • Microsoft Windows 10 (versions 1507, 1607, 1809, 1909, 2004, 20H2, 21H1)
  • Microsoft Windows 7 SP1, Windows 8.1, Windows RT 8.1
  • Microsoft Windows Server 2008 SP2, 2008 R2 SP1, 2012, 2012 R2, 2016, 2019, 2004, 20H2

Discovery Timeline

  • June 8, 2021 - CVE-2021-31956 published to NVD
  • January 13, 2026 - Last updated in NVD database

Technical Details for CVE-2021-31956

Vulnerability Analysis

CVE-2021-31956 is an integer underflow vulnerability in the Windows NTFS kernel driver. The vulnerability occurs during the processing of NTFS extended attributes, where improper size calculations can lead to a heap-based buffer overflow condition in kernel memory. An attacker who successfully exploits this vulnerability can execute arbitrary code with elevated (SYSTEM) privileges, allowing complete compromise of the affected system.

The attack requires local access to the system and low-level privileges, meaning an attacker would first need to gain initial access through another vector (such as phishing or exploiting a different vulnerability) before leveraging CVE-2021-31956 for privilege escalation. No user interaction is required for exploitation once local access is obtained.

Root Cause

The root cause is an integer underflow vulnerability (CWE-191) in the NTFS driver's handling of extended attributes. When processing specially crafted NTFS extended attribute data, the driver performs arithmetic operations that can result in an integer underflow. This underflow causes incorrect buffer size calculations, leading to subsequent heap buffer overflow conditions in kernel pool memory.

Attack Vector

The attack vector is local, requiring the attacker to have authenticated access to the target system with low-level user privileges. The exploitation mechanism involves:

  1. Creating or modifying NTFS extended attributes with malformed data designed to trigger the integer underflow
  2. The NTFS driver processes the malicious data, causing incorrect memory allocation calculations
  3. The resulting heap buffer overflow allows the attacker to corrupt adjacent kernel memory structures
  4. By carefully controlling the memory corruption, an attacker can hijack execution flow and achieve arbitrary code execution in kernel context

This vulnerability has been observed being exploited in targeted attacks, often chained with browser vulnerabilities (such as CVE-2021-21224 in Chrome) to achieve full system compromise from a drive-by download scenario.

Detection Methods for CVE-2021-31956

Indicators of Compromise

  • Unusual NTFS extended attribute operations on system files or directories
  • Suspicious kernel crash dumps or Blue Screen of Death (BSOD) events related to ntfs.sys
  • Evidence of privilege escalation attempts from low-privileged accounts to SYSTEM
  • Abnormal memory allocation patterns in Windows kernel pool

Detection Strategies

  • Monitor for suspicious NtfsQueryEaUserEaList and related NTFS extended attribute API calls
  • Deploy endpoint detection and response (EDR) solutions with kernel-level visibility to detect exploitation attempts
  • Implement behavioral analysis to identify privilege escalation patterns from user-mode to kernel-mode
  • Use memory integrity checking tools to detect kernel pool corruption

Monitoring Recommendations

  • Enable Windows Event Log auditing for file system operations, particularly extended attribute modifications
  • Monitor for processes making unusual NTFS-related system calls, especially from non-administrative contexts
  • Configure SentinelOne agents to alert on kernel exploit behaviors and privilege escalation attempts
  • Review system stability logs for unexplained NTFS driver crashes that may indicate exploitation attempts

How to Mitigate CVE-2021-31956

Immediate Actions Required

  • Apply the Microsoft security update released in June 2021 immediately to all affected systems
  • Prioritize patching for systems accessible by multiple users or connected to untrusted networks
  • Review CISA KEV catalog remediation guidance and comply with any applicable deadlines
  • Implement network segmentation to limit lateral movement if exploitation occurs

Patch Information

Microsoft released security updates addressing CVE-2021-31956 as part of the June 2021 Patch Tuesday release. The patch corrects the integer arithmetic in the NTFS driver to prevent the underflow condition. Organizations should apply the appropriate update for their Windows version via Windows Update, Windows Server Update Services (WSUS), or Microsoft Update Catalog. For detailed patch information, refer to the Microsoft Security Advisory for CVE-2021-31956.

Workarounds

  • Limit local access to systems to only trusted and necessary users while patches are deployed
  • Implement application whitelisting to prevent unauthorized executables from running
  • Use security tools with kernel exploit protection capabilities to detect and block exploitation attempts
  • Consider temporarily restricting NTFS extended attribute functionality through Group Policy if operationally feasible
bash
# Verify patch status by checking the installed Windows updates
# PowerShell command to check for June 2021 security updates
Get-HotFix | Where-Object {$_.InstalledOn -ge "2021-06-08"} | Format-Table -AutoSize

# Check NTFS driver version to confirm patching
Get-ItemProperty "C:\Windows\System32\drivers\ntfs.sys" | Select-Object VersionInfo

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability88.71%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-191
  • Technical References
  • CISA Known Exploited Vulnerability CVE-2021-31956
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-31956
  • Related CVEs
  • CVE-2026-23672: Windows UDFS Privilege Escalation Flaw

  • CVE-2026-25178: Windows WinSock Driver Privilege Escalation

  • CVE-2026-24283: Windows File Server Privilege Escalation

  • CVE-2026-24294: Windows SMB Server Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English