Skip to content
CVE-2025-30386Critical

Microsoft Office Remote Code Execution Vulnerability

Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.

Part of May 2025 Security Updates (13 May 2025) · MSRC Security Update Guide ↗

Advertisement

About this vulnerability

How could an attacker exploit this vulnerability?

To exploit this vulnerability, an attacker would first have to log on to the system. An attacker could then run a specially crafted application that could exploit the vulnerability and take control of an affected system.

Additionally, an attacker could convince a local user to open a malicious file. The attacker would have to convince the user to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file.

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. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.

How could an attacker exploit this vulnerability?

Exploitation of this vulnerability requires that an attacker send a malicious link to the victim via email, or that they convince the user to click the link, typically by way of an enticement in an email or Instant Messenger message. In the worst-case email attack scenario, an attacker could send a specially crafted email to the user without a requirement that the victim open, read, or click on the link. This could result in the attacker executing remote code on the victim's machine. When multiple attack vectors can be used, we assign a score based on the scenario with the higher risk (UI:N).

Is the Preview Pane an attack vector for this vulnerability?

Yes, the Preview Pane is an attack vector.

Are the updates for Microsoft Office LTSC for Mac 2021 and 2024 currently available?

Yes. As of May 14, 2025, the security update for Microsoft Office LTSC for Mac 2021 and 2024 are available. Customers running Microsoft Office LTSC for Mac 2021 and 2024 should ensure the update is installed to be protected from this vulnerability.

Details

Severity
Critical
CVSS base score
8.4
Impact
Remote Code Execution
Exploited
No
Publicly disclosed
No
Exploitability
Exploitation More Likely
Weakness (CWE)
CWE-416 Use After Free
First published
13 May 2025
Last revised
14 May 2025

CVSS 3.1 metrics

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

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

Affected Microsoft 365 products

Security updates

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

Acknowledgments

Li Shuang and willJ with Vulnerability Research Institute

Revision history

Advertisement

Other Office CVEs in May 2025 Security Updates

Advertisement