Microsoft Office Remote Code Execution Vulnerability (CVE-2025-30386)
A use-after-free flaw in Microsoft Office could let an attacker run arbitrary code on a victim's machine. The attacker must either log on locally and run a crafted application, or convince the user to open a malicious file or link, including via the Preview Pane.
Description
Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.
FAQ
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.
FAQ
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.
FAQ
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).
FAQ
Is the Preview Pane an attack vector for this vulnerability? Yes, the Preview Pane is an attack vector.
FAQ
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.
Microsoft Office
Microsoft Office
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could execute arbitrary code on the victim's machine, and the Preview Pane is confirmed as an attack vector, so opening a crafted email may be enough in the worst case.
What the attacker needed
Attacker logs on to the system; or victim opens a malicious file or link; Preview Pane can be an attack vector
The fix
Microsoft released security updates for affected Office versions, including Office LTSC for Mac 2021 and 2024, and customers should install them.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A use-after-free is a memory bug where a program keeps using a piece of memory after it has been freed, so an attacker can sometimes put their own data there and take control. Here, someone who can run code on the machine, or who tricks a user into opening a bad file or link, could make Office run their code. The word 'remote' in the title only describes where the attacker is, not that the attack happens over the network.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.