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
    • 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-40419

CVE-2026-40419: Microsoft Office Privilege Escalation Flaw

CVE-2026-40419 is a use-after-free privilege escalation vulnerability in Microsoft Office that allows authenticated attackers to gain elevated privileges. This article covers technical details, affected versions, and mitigations.

Published: May 17, 2026

CVE-2026-40419 Overview

CVE-2026-40419 is a use-after-free vulnerability [CWE-416] in Microsoft Office that allows an authenticated local attacker to elevate privileges. The flaw arises when Office code references heap memory that has already been freed, enabling controlled reuse of the dangling pointer. Successful exploitation grants the attacker the ability to execute code in the context of a higher-privileged process on the local system. Microsoft published the advisory on May 12, 2026, and assigned a CVSS 3.1 base score of 7.8.

Critical Impact

An authorized local attacker can leverage freed memory in Microsoft Office to elevate privileges with high impact to confidentiality, integrity, and availability.

Affected Products

  • Microsoft Office (versions listed in the vendor advisory)
  • Microsoft 365 Apps deployments running affected Office builds
  • On-premises Office installations referenced in the Microsoft Security Response Center (MSRC) update guide

Discovery Timeline

  • 2026-05-12 - CVE-2026-40419 published to the National Vulnerability Database (NVD)
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-40419

Vulnerability Analysis

The vulnerability is a use-after-free condition in Microsoft Office. Office code continues to use a pointer to a heap object after the underlying allocation has been released. An attacker who can place crafted content into the freed allocation controls the data that subsequent code paths dereference. This produces a write-what-where or controlled call primitive, depending on the object type reused.

The flaw requires local access and low-privilege authentication on the target system. User interaction is not required during the elevation step itself. Exploitation results in high impact across confidentiality, integrity, and availability, indicating the attacker can run code at a more privileged level than the original Office process context.

Root Cause

The root cause is improper object lifetime management within Microsoft Office. A code path frees an object but does not clear or invalidate all references, leaving a dangling pointer. When the allocator reuses that memory for an attacker-influenced object, Office dereferences the pointer expecting the original type. The type mismatch and attacker-controlled contents lead to corruption of program state.

Attack Vector

The attack vector is local. An attacker with valid local credentials triggers the vulnerable Office code path, typically by opening or processing a crafted document or interacting with an Office component already running on the system. The attacker sprays the heap to reclaim the freed allocation with controlled data, then forces Office to operate on the dangling pointer. The resulting memory corruption is shaped into arbitrary code execution at elevated privileges. No verified public proof-of-concept code is currently available for CVE-2026-40419. Technical details are described in the Microsoft Security Advisory CVE-2026-40419.

Detection Methods for CVE-2026-40419

Indicators of Compromise

  • Unexpected child processes spawned by winword.exe, excel.exe, powerpnt.exe, or outlook.exe running with elevated tokens.
  • Office processes loading unsigned or non-standard DLLs from user-writable directories such as %TEMP% or %APPDATA%.
  • Crash dumps in WER referencing access violations within Office modules immediately followed by token manipulation events.

Detection Strategies

  • Hunt for Office applications creating processes that perform privileged actions such as account creation, service installation, or scheduled task registration.
  • Correlate Office document open events with subsequent heap-spray indicators, including large numbers of small allocations followed by exception handling.
  • Monitor for anomalous use of inter-process communication originating from Office binaries to higher-privileged services.

Monitoring Recommendations

  • Enable Microsoft Defender Attack Surface Reduction (ASR) rules that block Office child process creation and log telemetry centrally.
  • Forward Sysmon EventID 1 (process create) and EventID 10 (process access) data for Office binaries to your SIEM for behavioral analysis.
  • Track Office build numbers across the fleet and alert on hosts that remain on pre-patch versions after the May 2026 update cycle.

How to Mitigate CVE-2026-40419

Immediate Actions Required

  • Apply the Microsoft security update for CVE-2026-40419 referenced in the MSRC advisory across all Office installations.
  • Inventory endpoints to confirm Office build numbers reflect the patched versions before closing remediation tickets.
  • Restrict local logon rights on systems running Office to reduce the population of accounts that can trigger the local attack vector.

Patch Information

Microsoft has published patch guidance in the Microsoft Security Advisory CVE-2026-40419. Administrators should deploy the updates through Windows Update, Microsoft Update, Microsoft 365 Apps update channels, or the Microsoft Update Catalog according to their patch management process. Verify installation by checking the updated Office version against the build number listed in the advisory.

Workarounds

  • Enable ASR rules to block Office applications from creating child processes and from injecting code into other processes.
  • Enforce Protected View and block macros from the internet through Group Policy until patches are deployed.
  • Apply the principle of least privilege so standard users cannot leverage privilege escalation primitives to reach administrative contexts.
bash
# Configuration example: enable ASR rules via PowerShell
Set-MpPreference -AttackSurfaceReductionRules_Ids `
  D4F940AB-401B-4EFC-AADC-AD5F3C50688A, `
  75668C1F-73B5-4CF0-BB93-3ECF5CB7CC84 `
  -AttackSurfaceReductionRules_Actions Enabled, Enabled

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMicrosoft Office

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.04%

  • 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-416
  • Technical References
  • Microsoft Security Advisory CVE-2026-40419
  • Related CVEs
  • CVE-2026-40418: Microsoft Office Click-To-Run Privilege Escalation

  • CVE-2026-40420: Microsoft Office Privilege Escalation Flaw

  • CVE-2026-35436: Microsoft Office Click-To-Run Vulnerability

  • CVE-2026-24285: Microsoft Office 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