Microsoft Office Remote Code Execution Vulnerability (CVE-2025-24057)
A heap-based buffer overflow exists in Microsoft Office, and an attacker who convinces a victim to open a specially crafted file could execute code on the victim's machine. The text notes the attack is carried out locally, with the Preview Pane also serving as an attack vector.
Description
Heap-based buffer overflow in Microsoft Office 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
Is the Preview Pane an attack vector for this vulnerability? Yes, the Preview Pane is an attack vector.
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 code locally on a victim's computer if the victim opens a specially crafted file, and the Preview Pane can also trigger it.
What the attacker needed
Victim opens a crafted file; social engineering to deliver the file
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 when a program writes more data into a memory area than it can hold, spilling into nearby memory. Here Microsoft Office has this flaw, so a malicious document could make Office misbehave in a way that lets an attacker run their own code on the computer. The attacker has to trick someone into opening the file, for example by sending it or hosting it on a website.
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.