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-2024-38021

CVE-2024-38021: Microsoft Outlook RCE Vulnerability

CVE-2024-38021 is a remote code execution vulnerability in Microsoft Outlook that allows attackers to execute arbitrary code. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: May 15, 2026

CVE-2024-38021 Overview

CVE-2024-38021 is a remote code execution vulnerability in Microsoft Outlook affecting Microsoft 365 Apps, Microsoft Office 2016, Microsoft Office 2019, and Microsoft Office LTSC 2021. The flaw is classified under [CWE-20] Improper Input Validation and stems from how Outlook processes specially crafted email content. An attacker who successfully exploits this vulnerability can execute arbitrary code in the context of the targeted user. Exploitation requires user interaction over a network attack vector. Microsoft published the advisory on July 9, 2024, as part of its monthly security update cycle.

Critical Impact

Successful exploitation grants attackers arbitrary code execution on the target system, compromising confidentiality, integrity, and availability of mail clients and connected resources.

Affected Products

  • Microsoft 365 Apps (Enterprise)
  • Microsoft Office 2016 and Microsoft Office 2019
  • Microsoft Office Long Term Servicing Channel (LTSC) 2021

Discovery Timeline

  • 2024-07-09 - Microsoft publishes security advisory for CVE-2024-38021
  • 2024-07-09 - CVE-2024-38021 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-38021

Vulnerability Analysis

The vulnerability resides in Microsoft Outlook's handling of email content and is categorized as an improper input validation issue [CWE-20]. Attackers deliver a crafted message that triggers unsafe parsing logic when Outlook processes the email. The flaw permits remote code execution in the context of the receiving user. The Exploit Prediction Scoring System (EPSS) places this CVE in a high-likelihood band relative to other vulnerabilities, indicating meaningful real-world exploitation interest. Microsoft's advisory classifies the issue as an Outlook RCE that requires user interaction, consistent with the attack pattern of opening or previewing a malicious message.

Root Cause

The root cause is improper validation of attacker-controlled input during email processing within Microsoft Outlook. When Outlook parses specific message fields or embedded content, missing or insufficient validation allows the message to influence execution flow. This condition enables an attacker to load and execute attacker-supplied code on the target host.

Attack Vector

Exploitation occurs over the network through email delivery. The attacker sends a specially crafted email to a target user running an affected version of Outlook. User interaction is required, such as opening or interacting with the message in a manner that triggers the vulnerable parsing path. No prior authentication to the victim system is required, and successful exploitation runs code with the privileges of the Outlook user.

No verified public proof-of-concept code is available for CVE-2024-38021. Refer to the Microsoft Security Update CVE-2024-38021 advisory for vendor-supplied technical details.

Detection Methods for CVE-2024-38021

Indicators of Compromise

  • Inbound email messages containing malformed or unusually structured MIME parts, attachments, or embedded objects targeting Outlook clients.
  • Unexpected child processes spawned by outlook.exe, such as cmd.exe, powershell.exe, rundll32.exe, or scripting interpreters.
  • Outbound network connections from outlook.exe to previously unseen domains or IP addresses shortly after message receipt.
  • Newly written executables, DLLs, or scripts under user profile paths following Outlook activity.

Detection Strategies

  • Monitor process lineage where outlook.exe is the parent and unusual interpreter or LOLBin binaries are children.
  • Inspect mail flow telemetry at the gateway for messages with anomalous header structures or content types matching exploitation patterns referenced in Microsoft's advisory.
  • Correlate Outlook crash and error events in the Windows Application log with subsequent suspicious endpoint activity.
  • Hunt for credential access patterns and SMB/HTTP authentication attempts originating from user workstations after suspicious email receipt.

Monitoring Recommendations

  • Centralize Outlook, Windows Defender, and EDR telemetry to enable cross-source correlation of exploitation attempts.
  • Track Office and Microsoft 365 Apps build versions across the fleet to identify hosts that remain unpatched.
  • Alert on first-time observed parent-child process pairs where outlook.exe launches binaries outside normal Office behavior.
  • Review email security gateway logs for repeat delivery attempts from senders associated with malformed message detections.

How to Mitigate CVE-2024-38021

Immediate Actions Required

  • Apply the Microsoft July 2024 security updates for Microsoft 365 Apps, Office 2016, Office 2019, and Office LTSC 2021 as documented in the Microsoft Security Update CVE-2024-38021 advisory.
  • Prioritize patching for users with elevated privileges, executive accounts, and externally exposed mail handlers.
  • Enforce email security gateway rules to block or quarantine messages with malformed structures consistent with Outlook exploitation patterns.
  • Reinforce user awareness that opening unexpected messages from unknown senders can trigger client-side exploitation.

Patch Information

Microsoft released fixed builds for affected Office and Microsoft 365 Apps versions on July 9, 2024. The complete list of fixed build numbers, KB identifiers, and download links is available in the Microsoft Security Update CVE-2024-38021 advisory. Administrators should verify deployed builds against the vendor's fixed version table after rollout.

Workarounds

  • Configure Outlook to read all standard mail in plain text where operationally feasible to reduce exposure of rich content parsing paths.
  • Restrict automatic preview of messages from external senders until patches are fully deployed.
  • Apply Attack Surface Reduction (ASR) rules that block Office applications from creating child processes and from injecting code into other processes.
  • Segment and monitor accounts that cannot be patched immediately, limiting lateral movement options if a workstation is compromised.
bash
# Example: Enable Microsoft Defender ASR rule to block Office apps from creating child processes
Set-MpPreference -AttackSurfaceReductionRules_Ids D4F940AB-401B-4EFC-AADC-AD5F3C50688A -AttackSurfaceReductionRules_Actions Enabled

# Verify Office build version on a Windows endpoint
reg query "HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration" /v VersionToReport

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft 365 Apps

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability8.55%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update CVE-2024-38021
  • Related CVEs
  • CVE-2020-16918: Microsoft 365 Apps RCE Vulnerability

  • CVE-2025-47176: Microsoft 365 Apps RCE Vulnerability

  • CVE-2025-62556: Microsoft 365 Apps RCE Vulnerability

  • CVE-2025-62564: Microsoft 365 Apps RCE Vulnerability
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