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
    • 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-2025-47164

CVE-2025-47164: Microsoft 365 Apps Use After Free Flaw

CVE-2025-47164 is a use after free vulnerability in Microsoft 365 Apps that enables unauthorized attackers to execute code locally. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2025-47164 Overview

CVE-2025-47164 is a use-after-free vulnerability in Microsoft Office that allows an unauthorized attacker to execute arbitrary code locally. This memory corruption flaw occurs when Office applications improperly handle memory operations, enabling attackers to leverage dangling pointers to execute malicious code in the context of the current user.

Critical Impact

Successful exploitation allows attackers to execute arbitrary code with the privileges of the current user, potentially leading to complete system compromise, data theft, or lateral movement within an organization.

Affected Products

  • Microsoft 365 Apps for Enterprise
  • Microsoft Office 2016, 2019, and Android versions
  • Microsoft Office Long Term Servicing Channel (LTSC) 2021 and 2024 for Windows and macOS

Discovery Timeline

  • June 10, 2025 - CVE-2025-47164 published to NVD
  • July 9, 2025 - Last updated in NVD database

Technical Details for CVE-2025-47164

Vulnerability Analysis

This use-after-free vulnerability (CWE-416) occurs when Microsoft Office applications reference memory that has already been deallocated. When an attacker crafts a malicious document that triggers specific memory operations, the application may continue to use a pointer to freed memory. This dangling pointer can be manipulated to redirect program execution to attacker-controlled code.

The vulnerability requires local access to exploit, meaning an attacker would need to convince a user to open a specially crafted Office document or gain local access to the target system. Once exploited, the attacker gains code execution with the same privilege level as the current user, potentially allowing access to sensitive documents, credential theft, or persistence mechanisms.

Root Cause

The root cause is improper memory management in Microsoft Office's document processing components. When certain objects are freed during document parsing or rendering operations, the application fails to properly nullify associated pointers. Subsequent operations that reference these invalid pointers lead to a use-after-free condition, creating an exploitable memory corruption scenario.

Attack Vector

The attack requires local access, meaning exploitation typically involves:

  1. Crafting a malicious Office document (Word, Excel, PowerPoint, etc.) designed to trigger the memory corruption
  2. Delivering the document to a target user through email, file sharing, or removable media
  3. Convincing the victim to open the document in a vulnerable Office application
  4. The malicious document triggers the use-after-free condition during parsing
  5. Attacker-controlled data overwrites the freed memory region
  6. Program execution is redirected to execute arbitrary code

The vulnerability does not require user interaction beyond opening the malicious document, and no special privileges are needed for initial exploitation.

Detection Methods for CVE-2025-47164

Indicators of Compromise

  • Unexpected crashes or error messages in Microsoft Office applications when opening documents
  • Office processes spawning unexpected child processes (cmd.exe, powershell.exe, etc.)
  • Unusual memory access patterns or exception handling in Office application logs
  • Suspicious Office documents with abnormal embedded objects or malformed structures

Detection Strategies

  • Deploy endpoint detection solutions capable of monitoring Office application behavior for heap corruption and code injection attempts
  • Implement application whitelisting to prevent unauthorized processes from being spawned by Office applications
  • Enable Windows Defender Exploit Guard with Attack Surface Reduction (ASR) rules targeting Office applications
  • Monitor for abnormal Office process activity including suspicious child process creation

Monitoring Recommendations

  • Enable detailed logging for Microsoft Office applications and Windows Event Logs
  • Configure SIEM rules to alert on Office applications executing shell commands or PowerShell
  • Monitor file system activity for Office applications writing to suspicious locations
  • Implement network monitoring for potential data exfiltration following document opening

How to Mitigate CVE-2025-47164

Immediate Actions Required

  • Apply the latest Microsoft security updates for all affected Office products immediately
  • Enable Protected View in Microsoft Office to restrict execution of potentially malicious content
  • Configure Office applications to open documents from untrusted sources in Protected View
  • Educate users about the risks of opening documents from unknown or untrusted sources

Patch Information

Microsoft has released security updates to address this vulnerability. Organizations should consult the Microsoft Security Response Center advisory for detailed patching guidance and specific update packages for each affected product version. Patches are available for Microsoft 365 Apps, Office 2016, Office 2019, and Office LTSC 2021/2024 editions.

Workarounds

  • Enable Protected View for files originating from the Internet, email attachments, and potentially unsafe locations
  • Implement Microsoft Office Application Guard where available to isolate document processing
  • Restrict macro execution and active content in Office documents using Group Policy
  • Consider deploying Office documents through a document sanitization gateway that strips potentially malicious content
bash
# Enable Protected View via registry for Office documents from the Internet
reg add "HKCU\Software\Microsoft\Office\16.0\Word\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Office\16.0\PowerPoint\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 0 /f

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechMicrosoft Office

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.07%

  • 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-416
  • Vendor Resources
  • Microsoft CVE-2025-47164 Advisory
  • Related CVEs
  • CVE-2026-26107: Microsoft Excel Use-After-Free Vulnerability

  • CVE-2026-20953: Microsoft Office Use After Free Vulnerability

  • CVE-2026-20952: Microsoft Office Use After Free Vulnerability

  • CVE-2026-20950: Microsoft Excel Use After Free 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