CVE-2022-21840
HighSummary
A vulnerability in Microsoft Office allows for remote code execution, potentially leading to full control over the user's system. An attacker can exploit this flaw through malicious documents that the user opens.
Risk Assessment
Organizations are at risk of remote takeover of systems, which can lead to data loss or compromise of sensitive information. In particular, users opening malicious files may become targets of attacks.
Recommendation
It is recommended to update Microsoft Office to the latest version to patch this vulnerability. Additionally, users should be warned against opening unknown or suspicious documents.
Other vulnerabilities in Microsoft Office
See all- CVE-2026-26134High
Integer overflow or wraparound in Microsoft Office allows an authorized attacker to elevate privileges locally.
- CVE-2026-26110High
Microsoft Office has a vulnerability related to resource access using an incompatible type ('type confusion'), allowing an unauthorized attacker to execute code locally.
- CVE-2026-20953High
Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.
- CVE-2026-20952High
Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.
- CVE-2026-20943High
An untrusted search path vulnerability in Microsoft Office allows an unauthorized attacker to execute code locally.
- CVE-2025-53732High
Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally.
- CVE-2025-49702High
A vulnerability in Microsoft Office related to access of resource using incompatible type ('type confusion') allows an unauthorized attacker to execute code locally.
- CVE-2025-49697High
A heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally.
- CVE-2025-49696High
An out-of-bounds read in Microsoft Office allows an unauthorized attacker to execute code locally.
- CVE-2025-49695High
A use after free vulnerability in Microsoft Office allows an unauthorized attacker to execute code locally.
Original NVD description (English source)
Microsoft Office Remote Code Execution Vulnerability
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

