Skip to main content
Vulnerability Database/CVE-2026-97738

CVE-2026-97738: Microsoft Excel Use-After-Free Vulnerability

CVE-2026-97738 is a use-after-free vulnerability in Microsoft Office Excel that enables remote attackers to execute arbitrary code over a network. This article covers the technical details, affected versions, and mitigation strategies.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97738 Overview

CVE-2026-97738 is a use-after-free vulnerability [CWE-416] in Microsoft Office Excel that allows an unauthorized attacker to execute arbitrary code over a network. Exploitation requires user interaction, typically opening a crafted Excel document. Successful exploitation grants the attacker code execution in the context of the current user, with full impact to confidentiality, integrity, and availability.

Microsoft published the advisory on October 13, 2026. Additional details are available in the Microsoft Security Response Center advisory.

Critical Impact

An attacker who convinces a user to open a malicious Excel file can execute code with the privileges of the signed-in user, enabling further compromise of the host and lateral movement.

Affected Products

  • Microsoft Office Excel (specific build ranges listed in the Microsoft advisory)

Discovery Timeline

  • 2026-10-13 - CVE CVE-2026-97738 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-97738

Vulnerability Analysis

The flaw is a use-after-free condition in Microsoft Office Excel. The application frees a memory object but retains a dangling reference that is later dereferenced during parsing or rendering of a crafted spreadsheet. An attacker who controls the contents of the freed allocation can redirect execution flow and run arbitrary code within the Excel process.

Exploitation requires the victim to open a specially crafted document. The attack vector is network-based because the file can be delivered through email, a web download, a shared drive, or a collaboration platform. No prior authentication is required against the target system.

Root Cause

The root cause is improper object lifetime management [CWE-416]. Excel releases a memory region while another code path still holds a pointer to it. Subsequent access to that pointer operates on attacker-controlled heap contents, enabling arbitrary read, write, or control-flow hijacking primitives.

Attack Vector

An attacker crafts a malicious Excel workbook that triggers the vulnerable object lifecycle. The file is delivered to the target through phishing, a watering-hole site, or a shared document store. When the user opens the file, Excel parses the embedded structures, triggers the free, and later dereferences the stale pointer. The resulting code execution runs under the current user's security context.

No verified public exploit code is available at the time of publication. See the Microsoft advisory for CVE-2026-97738 for authoritative technical details.

Detection Methods for CVE-2026-97738

Indicators of Compromise

  • Excel documents (.xlsx, .xls, .xlsm, .xlsb) received from untrusted sources that trigger EXCEL.EXE crashes or faulting module records in the Windows Event Log.
  • EXCEL.EXE spawning unexpected child processes such as cmd.exe, powershell.exe, wscript.exe, or rundll32.exe.
  • Outbound network connections initiated by EXCEL.EXE to unknown or newly registered domains shortly after document open.

Detection Strategies

  • Monitor process-creation telemetry for Office applications launching script interpreters or LOLBins.
  • Hunt for memory-corruption crash signatures (WerFault.exe entries citing EXCEL.EXE with access violations) across the fleet.
  • Correlate email gateway logs with endpoint execution events to identify delivery-to-detonation chains involving spreadsheet attachments.

Monitoring Recommendations

  • Enable Microsoft Defender Attack Surface Reduction rules that block Office applications from creating child processes.
  • Forward Office telemetry, Sysmon process and network events, and email gateway logs into a centralized analytics platform for correlation.
  • Alert on first-seen Excel-spawned processes per user and investigate anomalous document open patterns.

How to Mitigate CVE-2026-97738

Immediate Actions Required

  • Apply the Microsoft security update referenced in the MSRC advisory for CVE-2026-97738 to all affected Office installations.
  • Prioritize patching for users who routinely process external spreadsheets, including finance, procurement, and executive assistants.
  • Validate that endpoint protection is active and up to date on all hosts running Microsoft Office.

Patch Information

Microsoft has released updates addressing CVE-2026-97738 through standard Office servicing channels, including Microsoft Update, Click-to-Run, and the Microsoft Update Catalog. Consult the Microsoft Security Response Center entry for the specific build numbers that remediate this issue across supported Office channels.

Workarounds

  • Enable Protected View and Office Protected Mode for files originating from the internet and email attachments.
  • Block or quarantine Excel attachments from external senders at the mail gateway until patches are deployed.
  • Enforce Attack Surface Reduction rules that prevent Office applications from spawning child processes and from injecting into other processes.
  • Educate users to avoid opening unexpected spreadsheet attachments and to report suspicious files.
bash
# Enable Microsoft Defender ASR rule: Block Office apps from creating child processes
Set-MpPreference -AttackSurfaceReductionRules_Ids D4F940AB-401B-4EFC-AADC-AD5F3C50688A -AttackSurfaceReductionRules_Actions Enabled

# Enforce Protected View via Group Policy registry keys
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\Excel\Security\ProtectedView" /v DisableAttachmentsInPV /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableUnsafeLocationsInPV /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.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.