Microsoft Excel Remote Code Execution Vulnerability (CVE-2025-21387)
A vulnerability in Microsoft Excel allows an attacker to execute arbitrary code on a victim's machine. The attacker must convince the victim to download and open a specially crafted file, and the Preview Pane can also trigger it.
FAQ
Is the Preview Pane an attack vector for this vulnerability? Yes, the Preview Pane is an attack vector.
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. 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.
FAQ
There are multiple update packages available for some of the affected software. Do I need to install all the updates listed in the Security Updates table for the software? Yes. Customers should apply all updates offered for the software installed on their systems. If multiple updates apply, they can be installed in any order.
Microsoft Office Excel
Microsoft Office Excel
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
Root cause
Likely a memory-safety or parsing flaw in how Excel handles a crafted file, though the text does not state the underlying mistake.
Impact
An attacker could run arbitrary code on the victim's machine, and merely previewing the file in the Preview Pane may be enough to trigger it.
What the attacker needed
Victim opens a crafted file; social engineering to deliver the file
The fix
Microsoft released update packages for the affected software, and customers should install all updates offered for their installed software.
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.
Excel has a flaw that lets a malicious spreadsheet run harmful code on your computer. The attacker cannot do this remotely by themselves; they trick you into opening a file they made, for example by sending a link to a website. Once opened, the code runs with your user rights.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.