Skip to content
CVE-2026-40362Important

Microsoft Excel Remote Code Execution Vulnerability

Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

Part of May 2026 Security Updates (12 May 2026) · MSRC Security Update Guide ↗

Advertisement

About this vulnerability

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do?

An attacker must send a user a malicious Office file and convince them to open it.

Is the Preview Pane an attack vector for this vulnerability?

No, the Preview Pane is not an attack vector.

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution?

The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally.

For example, when the score indicates that the Attack Vector is Local and User Interaction is Required, this could describe an exploit in which an attacker, through social engineering, convinces a victim to download and open a specially crafted file from a website which leads to a local attack on their computer.

Details

Severity
Important
CVSS base score
7.8
Impact
Remote Code Execution
Exploited
No
Publicly disclosed
No
Exploitability
Exploitation Less Likely
Weakness (CWE)
CWE-122 Heap-based Buffer Overflow
First published
12 May 2026
Last revised
12 May 2026

CVSS 3.1 metrics

Attack vectorLocal
Attack complexityLow
Privileges requiredNone
User interactionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Exploit code maturityUnproven
Remediation levelOfficial fix
Report confidenceConfirmed

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C · temporal score 6.8

Affected Microsoft 365 products

Security updates

UpdateFixed build
KB500287116.0.10417.20128
KB500286516.0.5552.1000
Microsoft 365 Apps security updates (release notes)16.109.26051019

Customer action required Install the security update: it is not applied automatically for every product.

Acknowledgments

Haein Lee with KAIST Hacking Lab, Jeongmin Choi with S2W

Revision history

Advertisement

Other Office, Excel CVEs in May 2026 Security Updates

Advertisement