A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-40399

CVE-2026-40399: Windows 10 Privilege Escalation Flaw

CVE-2026-40399 is a privilege escalation vulnerability in Microsoft Windows 10 1607 caused by a stack-based buffer overflow in TCP/IP. This article covers technical details, affected versions, impact, and mitigation.

Published: May 17, 2026

CVE-2026-40399 Overview

CVE-2026-40399 is a stack-based buffer overflow [CWE-121] in the Windows TCP/IP networking stack. An authorized local attacker can exploit improper bounds checking on the kernel stack to corrupt adjacent memory and elevate privileges. Successful exploitation grants the attacker SYSTEM-level execution from a standard user context.

The flaw affects supported releases of Windows 10, Windows 11, and Windows Server, including Windows Server 2025. Microsoft published the advisory on May 12, 2026 with a CVSS 3.1 base score of 7.8. No public proof-of-concept exploit is available, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.

Critical Impact

Local authenticated attackers can trigger a stack buffer overflow in the TCP/IP stack to gain full confidentiality, integrity, and availability impact on the target host.

Affected Products

  • Microsoft Windows 10 (1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (23H2, 24H2, 25H2, 26H1)
  • Microsoft Windows Server 2016, 2019, 2022, 2022 23H2, and 2025

Discovery Timeline

  • 2026-05-12 - CVE-2026-40399 published to NVD
  • 2026-05-12 - Microsoft releases security advisory and patch
  • 2026-05-15 - Last updated in NVD database

Technical Details for CVE-2026-40399

Vulnerability Analysis

The vulnerability resides inside the Windows TCP/IP driver, which executes in kernel mode. A stack-allocated buffer receives attacker-influenced data without sufficient size validation. When the supplied data exceeds the destination buffer, adjacent stack frames are overwritten, including saved return addresses and structured exception handlers.

Because the affected code runs as part of the kernel networking stack, successful corruption gives the attacker an opportunity to redirect control flow inside ring 0. Microsoft classifies the outcome as elevation of privilege rather than remote code execution because the attack vector is local and the attacker must already hold valid credentials on the target system.

Root Cause

The root cause is improper restriction of operations within the bounds of a memory buffer on the stack, mapped to [CWE-121]. A length field controlled by the caller is trusted during a copy operation into a fixed-size kernel stack buffer. Missing validation allows the source length to exceed the destination capacity.

Attack Vector

Exploitation requires local access and low-privilege authentication. The attacker runs code on the target that invokes the vulnerable TCP/IP kernel path, supplying a crafted payload that overflows the stack buffer. Successful exploitation transitions the running context from a standard user token to kernel-level execution, enabling privilege escalation to NT AUTHORITY\SYSTEM.

No network-only or unauthenticated path has been documented. The current EPSS probability is 0.06%, reflecting the lack of public exploit code at the time of disclosure.

No verified public proof-of-concept code exists. See the Microsoft CVE-2026-40399 Advisory for vendor technical details.

Detection Methods for CVE-2026-40399

Indicators of Compromise

  • Unexpected System process crashes or bugchecks referencing tcpip.sys in MEMORY.DMP or Windows Error Reporting telemetry.
  • New SYSTEM-level processes spawned shortly after a non-administrative user logs on or executes an untrusted binary.
  • Kernel stack traces in crash dumps showing corrupted return addresses inside TCP/IP stack functions.

Detection Strategies

  • Monitor for kernel-mode crashes with bugcheck codes such as 0x139 (KERNEL_SECURITY_CHECK_FAILURE) and 0x3B (SYSTEM_SERVICE_EXCEPTION) where the faulting module is tcpip.sys.
  • Correlate local logon events (Event ID 4624 with logon type 2 or 10) with subsequent privilege assignment events (Event ID 4672) granted to non-administrative accounts.
  • Hunt for processes invoking unusual Winsock or NSI IOCTLs from low-integrity contexts using EDR telemetry.

Monitoring Recommendations

  • Enable kernel crash dump collection and forward WER reports to a centralized analytics platform for review.
  • Track patch deployment status for the May 2026 Windows cumulative update across all Windows 10, 11, and Server endpoints.
  • Alert on local privilege transitions from medium to high integrity that are not preceded by a legitimate UAC consent prompt.

How to Mitigate CVE-2026-40399

Immediate Actions Required

  • Apply the May 2026 Microsoft security update referenced in the Microsoft CVE-2026-40399 Advisory to all affected Windows 10, Windows 11, and Windows Server hosts.
  • Prioritize patching multi-user systems such as Remote Desktop Session Hosts, jump boxes, and shared developer workstations where low-privileged users have shell access.
  • Audit local account inventories and remove unused or stale accounts that could be leveraged to satisfy the authentication requirement.

Patch Information

Microsoft released fixes for all supported affected SKUs alongside the May 2026 Patch Tuesday cycle. Administrators should consult the Microsoft CVE-2026-40399 Advisory for the specific KB article and build numbers that correspond to each Windows version.

Workarounds

  • Microsoft has not published a supported configuration workaround. Apply the security update.
  • Reduce risk by enforcing least-privilege policies and removing interactive logon rights for accounts that do not require them.
  • Use application control solutions such as Windows Defender Application Control to restrict execution of untrusted binaries that could host exploit code.
bash
# Verify that the May 2026 cumulative update is installed
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 10

# Check current Windows build to confirm patch level
[System.Environment]::OSVersion.Version

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 Probability0.06%

  • 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
  • CWE References
  • CWE-121
  • Vendor Resources
  • Microsoft CVE-2026-40399 Advisory
  • Related CVEs
  • CVE-2026-41088: Windows 10 21h2 Privilege Escalation Flaw

  • CVE-2026-41095: Windows Server 2012 Privilege Escalation

  • CVE-2026-40382: Windows 10 1607 Privilege Escalation Flaw

  • CVE-2026-40397: Windows 10 1607 Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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