← Vulnerability feed

Vulnerability record · CVE-2021-34501 · published 14 July 2021

CVE-2021-34501: Microsoft Excel remote code execution via crafted file

Microsoft · 365 Apps

CVE-2021-34501 is a remote code execution flaw in Microsoft Excel and related Office products. The record gives only the title-level description, so the specific memory-safety or parsing defect is not identified. It matters because successful exploitation runs attacker code in the context of the opening user.

7.8 CVSS 3.1 High EPSS 51% · top 1.1%
7.8CVSS 3.1 base score, v2 6.8
51%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
3References
10 Aug 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 20 September 2026. Confidence: medium.

high priorityRemote code execution in a widely deployed Office product with a high EPSS score and user-interaction-only reach warrants prompt patching despite no KEV listing.

What it is

CVE-2021-34501 is a remote code execution flaw in Microsoft Excel and related Office products. The record gives only the title-level description, so the specific memory-safety or parsing defect is not identified. It matters because successful exploitation runs attacker code in the context of the opening user.

Impact

An attacker who convinces a user to open a malicious file can execute arbitrary code with the privileges of that user. That typically means full compromise of the user's session and data, not just a crash.

Attack surface

The vector is local (AV:L) with user interaction required (UI:R) and no privileges required (PR:N), which matches a malicious document opened in Excel. No authentication is needed; the victim must open the crafted file.

Exploitation

CISA KEV does not list it and no ransomware use is documented, but EPSS is high at roughly 0.51 (98.9th percentile), indicating elevated predicted exploitation activity. References include a vendor patch advisory and a third-party advisory, with no public exploit tag.

What to do

  • Apply the Microsoft security update for CVE-2021-34501 to Excel, Office, and Office Online Server as applicable.
  • Enable Protected View and block macros and untrusted file types from email and web sources.
  • Use attack surface reduction rules and Defender for Office 365 to block Office child-process creation and executable content.
  • Restrict users from opening documents from untrusted locations and enforce Mark-of-the-Web handling.
  • Keep Office patched through a managed update channel and verify the fix is installed on all endpoints.

Detection

  • Monitor for Excel spawning child processes such as cmd.exe, powershell.exe, or script hosts.
  • Alert on Office applications loading unusual DLLs or writing executables to temp or startup paths.
  • Review email and web gateway logs for Excel attachments or downloads from untrusted senders.
  • Hunt for suspicious file writes and process creation shortly after a document open event on endpoints.

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-2021-34501 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-2021-34501), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.