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-2025-47162

CVE-2025-47162: Microsoft 365 Apps Buffer Overflow Flaw

CVE-2025-47162 is a heap-based buffer overflow vulnerability in Microsoft 365 Apps that enables attackers to execute arbitrary code locally. This article covers the technical details, affected versions, and mitigation steps.

Updated: May 14, 2026

CVE-2025-47162 Overview

CVE-2025-47162 is a heap-based buffer overflow vulnerability in Microsoft Office that allows an unauthorized attacker to execute code locally. The flaw affects multiple Microsoft Office releases, including Microsoft 365 Apps, Office 2016, Office 2019, and Office Long Term Servicing Channel 2021 and 2024 on both Windows and macOS. The vulnerability maps to [CWE-122] and resides in Office's handling of crafted document content. Microsoft published the advisory on June 10, 2025.

Critical Impact

A successful exploit yields arbitrary code execution in the context of the user opening a malicious Office document, enabling full compromise of confidentiality, integrity, and availability.

Affected Products

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

Discovery Timeline

  • 2025-06-10 - CVE-2025-47162 published to NVD and Microsoft Security Response Center advisory released
  • 2025-07-09 - Last updated in NVD database

Technical Details for CVE-2025-47162

Vulnerability Analysis

The vulnerability is a heap-based buffer overflow ([CWE-122]) in Microsoft Office. Attackers craft a malicious Office document that triggers improper bounds handling during parsing. When Office processes the malformed structure, it writes data past the bounds of a heap-allocated buffer. The corrupted heap memory enables an attacker to redirect control flow and execute arbitrary code in the context of the current user. Successful exploitation does not require authentication or user interaction beyond opening the document through normal Office workflows. Because the affected products span Windows, macOS, and Android editions of Office, the attack surface covers most enterprise productivity environments.

Root Cause

The root cause is insufficient validation of length or size fields during deserialization of structured Office document data. The parser allocates a heap buffer based on one value, then copies a larger payload controlled by attacker-supplied content. This out-of-bounds heap write corrupts adjacent allocations, including object headers and function pointers used during later document rendering.

Attack Vector

The attack vector is local. An attacker delivers a weaponized Office file through phishing email, malicious file shares, removable media, or drive-by download. When a user opens the document, the parsing routine triggers the overflow without further interaction. Office's Protected View may reduce risk for files originating from the internet, but documents delivered through trusted channels bypass that mitigation.

No verified public exploit code is available. See the Microsoft CVE-2025-47162 Advisory for vendor technical details.

Detection Methods for CVE-2025-47162

Indicators of Compromise

  • Office processes (WINWORD.EXE, EXCEL.EXE, POWERPNT.EXE) spawning unexpected child processes such as cmd.exe, powershell.exe, wscript.exe, or rundll32.exe.
  • Office applications writing executable content (.exe, .dll, .hta, .js) to user-writable directories such as %TEMP%, %APPDATA%, or %LOCALAPPDATA%.
  • Crash events for Office binaries with heap corruption signatures in Windows Error Reporting (WerFault.exe).
  • Inbound documents from external senders containing unusual embedded objects or non-standard structured storage streams.

Detection Strategies

  • Hunt for parent-child process relationships where Office binaries launch interpreters or LOLBins, correlated with recent document opens.
  • Apply YARA rules targeting malformed Office binary structures associated with heap-overflow proof-of-concepts as they emerge.
  • Inspect email gateway and proxy logs for Office attachments with anomalous size, macro indicators, or origins from low-reputation domains.

Monitoring Recommendations

  • Enable Microsoft Defender Attack Surface Reduction rules that block Office from creating child processes and writing executable content.
  • Forward Sysmon Event IDs 1, 7, and 11 from endpoints running Office to a centralized SIEM for behavioral correlation.
  • Track Office application crashes through Application event log entries (Event IDs 1000, 1001) for unexplained spikes that may indicate exploit testing.

How to Mitigate CVE-2025-47162

Immediate Actions Required

  • Apply the June 2025 Microsoft security updates to all affected Office installations, prioritizing internet-exposed and high-privilege users.
  • Verify update deployment across Microsoft 365 Apps, Office 2016, Office 2019, and Office LTSC 2021 and 2024 on both Windows and macOS endpoints.
  • Re-enable and enforce Protected View and Office Hardened Runtime settings through Group Policy or Intune.
  • Restrict opening of Office documents originating from external email and untrusted file shares.

Patch Information

Microsoft released fixes through standard update channels on June 10, 2025. Refer to the Microsoft CVE-2025-47162 Advisory for the specific build numbers and KB articles for each affected product channel. Microsoft 365 Apps customers receive updates through Click-to-Run; volume-licensed Office and Office LTSC require deployment of the corresponding MSI or update package.

Workarounds

  • Configure Office to block documents from the internet by enforcing Protected View for files from Outlook attachments, the internet, and unsafe locations.
  • Disable rich content rendering (ActiveX, embedded objects, legacy file formats) for users who do not require it through Trust Center policies.
  • Use Microsoft Defender Attack Surface Reduction rules to block child process creation and Win32 API calls from Office macros.
bash
# Example: enforce ASR rules via PowerShell to reduce Office exploit impact
Set-MpPreference -AttackSurfaceReductionRules_Ids `
  D4F940AB-401B-4EFC-AADC-AD5F3C50688A `
  -AttackSurfaceReductionRules_Actions Enabled

Set-MpPreference -AttackSurfaceReductionRules_Ids `
  3B576869-A4EC-4529-8536-B80A7769E899 `
  -AttackSurfaceReductionRules_Actions Enabled

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechMicrosoft 365 Apps

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability1.21%

  • 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
  • Vendor Resources
  • Microsoft CVE-2025-47162 Advisory
  • Related CVEs
  • CVE-2025-32717: Microsoft 365 Apps Buffer Overflow Flaw

  • CVE-2026-33822: Microsoft 365 Apps Disclosure Vulnerability

  • CVE-2026-32198: Microsoft 365 Apps Use-After-Free Flaw

  • CVE-2026-32197: Microsoft 365 Apps Use After Free 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