← Vulnerability feed

Vulnerability record · CVE-2023-36041 · published 14 November 2023

CVE-2023-36041: Microsoft Excel use-after-free enables remote code execution

Microsoft · 365 Apps

CVE-2023-36041 is a use-after-free (CWE-416) vulnerability in Microsoft Excel and related Office products. A crafted file can corrupt memory and execute code in the context of the user. It matters because Excel is widely deployed and the flaw is trivially triggered by opening a malicious document.

7.8 CVSS 3.1 High EPSS 57% · top 1.0% CWE-416 · Use after free
7.8CVSS 3.1 base score
57%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
3References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

Microsoft Excel Remote Code Execution Vulnerability

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityCVSS 7.8 and high EPSS with an exploit reference indicate a serious, likely exploitable flaw, though it requires user interaction and is not in KEV.

What it is

CVE-2023-36041 is a use-after-free (CWE-416) vulnerability in Microsoft Excel and related Office products. A crafted file can corrupt memory and execute code in the context of the user. It matters because Excel is widely deployed and the flaw is trivially triggered by opening a malicious document.

Impact

An attacker who convinces a user to open a specially crafted Excel file can execute arbitrary code with the privileges of that user. This can lead to full compromise of the user's session and data.

Attack surface

The vector is local (AV:L) with user interaction required (UI:R) and no privileges required (PR:N), meaning the attacker must deliver a malicious file that the victim opens in Excel. No authentication is needed on the target; the attack relies on social engineering to get the file opened.

Exploitation

CISA KEV does not list this CVE, but EPSS is 0.56727 (99th percentile), indicating a high likelihood of exploitation activity. A third-party advisory (Talos) is tagged as an exploit reference, suggesting public technical details or proof-of-concept exist.

What to do

  • Apply the Microsoft security update for CVE-2023-36041 immediately on all affected Office and Excel installations.
  • Enable Microsoft Defender Application Guard or Protected View for Office documents from untrusted sources.
  • Block or restrict execution of Excel macros and untrusted file types via Group Policy or Attack Surface Reduction rules.
  • Educate users not to open unexpected Excel attachments or links, and enforce email filtering for suspicious documents.
  • Consider disabling Excel ActiveX and legacy features where not required.

Detection

  • Monitor for Excel processes (EXCEL.EXE) spawning child processes such as cmd.exe, powershell.exe, or wscript.exe.
  • Hunt for unusual file writes or registry modifications originating from Excel, especially in user-writable directories.
  • Use endpoint detection to flag memory corruption indicators or crashes in Excel followed by suspicious network connections.
  • Review email gateway logs for Excel attachments with embedded objects or macros from external senders.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-36041 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-21413Microsoft Outlook improper input validation remote code executionCVE-2024-21413 is a critical remote code execution flaw in Microsoft Outlook caused by improper input validation, tracked publicly as the MonikerLink…KEVEPSS 95%analysed9.8CVE-2023-23397Microsoft Outlook improper input validation privilege escalationCVE-2023-23397 is a critical elevation of privilege flaw in Microsoft Outlook caused by improper input validation and an authentication bypass by cap…KEVEPSS 97%analysed8.8CVE-2024-38189Microsoft Project Remote Code Execution via Improper Input ValidationMicrosoft Project and related Office products contain a remote code execution flaw rooted in improper input validation. An attacker can trigger code …KEVEPSS 8.2%analysed8.8CVE-2023-35311Microsoft Outlook security feature bypass via TOCTOU race conditionCVE-2023-35311 is a security feature bypass in Microsoft Outlook caused by a time-of-check time-of-use (TOCTOU) race condition (CWE-367). It affects …KEVEPSS 16%analysed8.8CVE-2019-1297Microsoft Excel memory handling flaw allows remote code executionCVE-2019-1297 is a remote code execution vulnerability in Microsoft Excel caused by improper handling of objects in memory. An attacker who convinces…KEVEPSS 22%analysed8.8CVE-2019-0541Microsoft MSHTML engine input validation flaw allows remote code executionThe MSHTML engine in Microsoft Office, Internet Explorer and related viewers fails to properly validate input, allowing remote code execution. Becaus…KEVEPSS 53%analysed8.8CVE-2018-0798Microsoft Office Equation Editor memory corruption RCEEquation Editor in Microsoft Office 2007 through 2016 mishandles objects in memory, producing an out-of-bounds write (CWE-787) that can be turned int…KEVEPSS 95%analysed8.8CVE-2015-2424Microsoft Office memory corruption via crafted documentCVE-2015-2424 is an out-of-bounds write (CWE-787) in Microsoft PowerPoint and Word that is triggered when a crafted Office document is opened. A remo…KEVEPSS 40%analysed

Source: NIST National Vulnerability Database (record CVE-2023-36041), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.