Microsoft Excel Remote Code Execution Vulnerability (CVE-2025-47174)
A heap-based buffer overflow in Microsoft Office Excel allows an attacker to execute code locally when a victim opens a specially crafted file. The attacker must convince the victim to download and open the file, for example through social engineering.
Description
Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally.
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
Are the updates for the Microsoft 365 for Office currently available? The security update for Microsoft 365 are not immediately available. The updates will be released as soon as possible, and when they are available, customers will be notified via a revision to this CVE information.
FAQ
Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector.
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 heap-based buffer overflow in how Excel parses a crafted file, allowing memory corruption.
Impact
An attacker could execute arbitrary code locally on the victim's machine, but only if the victim opens a specially crafted file; the Preview Pane is not an attack vector.
What the attacker needed
Victim opens a crafted file; social engineering
The fix
Microsoft should release a security update for Microsoft 365 for Office and other affected versions; the text says updates are not immediately available.
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 buffer overflow is a bug where a program writes more data into a memory area than it can hold, which can corrupt nearby memory. Here, opening a malicious Excel file can trigger this overflow and let an attacker run their own code on the victim's computer. The attacker cannot do this remotely by themselves; they need the victim to open the file.
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.