← Vulnerability feed

Vulnerability record · CVE-2021-34478 · published 12 August 2021

CVE-2021-34478: Microsoft Office Remote Code Execution Vulnerability

Microsoft · 365 Apps

CVE-2021-34478 is a remote code execution flaw in Microsoft Office and Microsoft 365 Apps. The record provides only a generic description and no root-cause detail, so the specific vulnerable component is not identified. It matters because successful exploitation gives an attacker full code execution in the context of the affected 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
2Affected product versions listed by NVD
3References
10 Aug 2026Last modified by NVD

Description

Microsoft Office 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 priorityCVSS 7.8 with high EPSS and full code execution impact, though exploitation requires user interaction and no in-the-wild activity is confirmed.

What it is

CVE-2021-34478 is a remote code execution flaw in Microsoft Office and Microsoft 365 Apps. The record provides only a generic description and no root-cause detail, so the specific vulnerable component is not identified. It matters because successful exploitation gives an attacker full code execution in the context of the affected user.

Impact

An attacker who convinces a user to open a crafted document can execute arbitrary code with the privileges of that user. This can lead to full compromise of confidentiality, integrity and availability on the host.

Attack surface

The CVSS vector is local (AV:L) with user interaction required (UI:R) and no privileges required (PR:N), meaning the attack is reached by getting a victim to open a malicious file rather than by remote network access. No authentication is needed, but the victim must interact with the crafted content.

Exploitation

CISA KEV does not list this CVE and no ransomware use is documented. EPSS is high (0.51243, 98.9th percentile), indicating a meaningful predicted likelihood of exploitation, but the references contain no exploit or in-the-wild tags.

What to do

  • Apply the Microsoft security update referenced in the MSRC advisory for CVE-2021-34478 as the first action.
  • Keep Microsoft Office and Microsoft 365 Apps on a supported, fully patched channel and enforce automatic updates.
  • Block or restrict execution of untrusted Office file types (for example via Attachment Manager, Protected View and file-block policies) from email and web sources.
  • Enable and enforce Protected View and disable macros for documents from untrusted locations.
  • Educate users not to open unexpected Office attachments or links from unknown senders.

Detection

  • Monitor for Office applications (WINWORD.EXE, EXCEL.EXE, POWERPNT.EXE) spawning child processes such as cmd.exe, powershell.exe or wscript.exe.
  • Alert on Office processes loading unusual DLLs or writing executables to user-writable paths such as %TEMP% or %APPDATA%.
  • Review endpoint telemetry for document opens followed by network connections or script execution from Office parent processes.
  • Hunt for known exploit indicators from the ZDI advisory ZDI-21-1024 in file and process telemetry.

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

Affected products

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

References

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