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-40364

CVE-2026-40364: Microsoft Word RCE Vulnerability

CVE-2026-40364 is a type confusion remote code execution vulnerability in Microsoft Office Word that enables attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: May 17, 2026

CVE-2026-40364 Overview

CVE-2026-40364 is a type confusion vulnerability in Microsoft Office Word that allows an unauthorized attacker to execute code locally. The flaw arises when Word accesses a resource using an incompatible type, leading to memory corruption that an attacker can leverage to run arbitrary code in the context of the current user. The issue is tracked under CWE-122 (heap-based memory corruption) and carries a CVSS 3.1 base score of 8.4. Microsoft published guidance through the Microsoft Security Update Guide.

Critical Impact

Successful exploitation grants code execution with the privileges of the user opening the crafted Word document, with high impact to confidentiality, integrity, and availability.

Affected Products

  • Microsoft Office Word (specific versions per Microsoft Security Update Guide)
  • Microsoft Office product family components that share the Word rendering engine
  • Endpoints processing untrusted .doc, .docx, or .rtf files

Discovery Timeline

  • 2026-05-12 - CVE-2026-40364 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-40364

Vulnerability Analysis

The vulnerability is a type confusion condition in Microsoft Office Word. Word parses complex document structures containing embedded objects, fields, and OLE streams. When the parser interprets an object header inconsistently with the underlying data layout, it operates on memory as a different type than the one originally allocated.

This mismatch produces incorrect pointer dereferences and corrupts the heap. The CWE-122 classification indicates the corruption occurs on the heap, where attacker-controlled data can overlap with object metadata, function pointers, or virtual table references. The result is reliable hijack of control flow within the Word process.

The attack vector is local and requires no privileges or user interaction beyond opening the malicious document, which makes weaponized files delivered via email, file shares, or download links a practical delivery method.

Root Cause

The root cause is improper type validation when Word resolves a resource referenced inside a document. The code path treats the resource as one type while the underlying allocation matches a different, incompatible type. Heap memory accessed under the wrong type assumption produces deterministic corruption suitable for exploitation.

Attack Vector

An attacker crafts a malicious Office document that triggers the type confusion when opened. Because the CVSS vector reports no user interaction beyond the normal document open and no required privileges, the document executes its payload as soon as Word parses the malicious structure. Code runs in the user context, providing a foothold for credential theft, lateral movement, or persistence.

No public proof-of-concept code is available at this time. Technical details are described in the Microsoft Security Update Guide.

Detection Methods for CVE-2026-40364

Indicators of Compromise

  • Microsoft Word (winword.exe) spawning child processes such as cmd.exe, powershell.exe, wscript.exe, or rundll32.exe
  • Unexpected outbound network connections initiated from winword.exe shortly after document open
  • Office documents with anomalous embedded objects, oversized OLE streams, or malformed structured storage
  • New executable files or scripts written to %TEMP%, %APPDATA%, or user profile directories by Word

Detection Strategies

  • Hunt for parent-child process relationships where winword.exe launches interpreters or system binaries
  • Inspect Office documents with static analysis tools to flag malformed object headers consistent with type confusion triggers
  • Correlate document open events with subsequent process and file creation activity on the same host
  • Enable Microsoft Office telemetry and Antimalware Scan Interface (AMSI) logging for macro and object activity

Monitoring Recommendations

  • Forward Sysmon process creation, image load, and network connection events for Office processes to a central SIEM
  • Alert on winword.exe loading non-standard DLLs or making outbound connections to uncategorized destinations
  • Track Office crash telemetry, since exploitation attempts frequently produce access violations before stabilizing

How to Mitigate CVE-2026-40364

Immediate Actions Required

  • Apply the security update published by Microsoft for the affected Office Word versions as referenced in the Microsoft Security Update Guide
  • Enforce Protected View and Office Application Guard for documents originating from email, the internet, or untrusted file shares
  • Block inbound Office document attachments from external senders at the email gateway until patches are deployed
  • Restrict child process creation from Office applications using Microsoft Defender Attack Surface Reduction (ASR) rules

Patch Information

Microsoft addresses CVE-2026-40364 through its monthly security update channel. Administrators should consult the Microsoft Security Update Guide for the specific build numbers, KB identifiers, and Click-to-Run channel updates that resolve the type confusion in Word. Deploy through Windows Update, WSUS, Microsoft Intune, or the Microsoft 365 Apps admin center based on environment topology.

Workarounds

  • Open untrusted documents only inside Protected View and disable the option to exit Protected View for files from the internet
  • Enable the ASR rule Block all Office applications from creating child processes (GUID D4F940AB-401B-4EFC-AAA1-ACDD1F65EBD8)
  • Configure File Block policy in Office Trust Center to prevent legacy binary formats (.doc, .rtf) from opening or to force them into Protected View
  • Remove local administrator rights from end users to limit the impact of code execution under the user context
bash
# Enable the ASR rule to block Office child process creation via PowerShell
Set-MpPreference -AttackSurfaceReductionRules_Ids D4F940AB-401B-4EFC-AAA1-ACDD1F65EBD8 -AttackSurfaceReductionRules_Actions Enabled

# Verify the rule is enabled
Get-MpPreference | Select-Object -ExpandProperty AttackSurfaceReductionRules_Ids

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Office

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Technical References
  • Microsoft Security Update Guide
  • Related CVEs
  • CVE-2026-40367: Microsoft Office Word RCE Vulnerability

  • CVE-2026-33114: Microsoft Office Word RCE Vulnerability

  • CVE-2026-26110: Microsoft Office RCE Vulnerability

  • CVE-2026-26109: Microsoft Excel RCE Vulnerability
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