Microsoft Office Remote Code Execution Vulnerability (CVE-2025-47162)
A heap-based buffer overflow exists in Microsoft Office, and an attacker who can get code to run locally on a victim's machine could exploit it to execute arbitrary code. The Preview Pane is also an attack vector, so simply previewing a crafted file may trigger the flaw.
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. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.
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? 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
Root cause
Likely a heap-based buffer overflow in Microsoft Office where insufficient bounds checking allows memory corruption.
Impact
An attacker could execute arbitrary code locally, and the Preview Pane is an attack vector, though the attack requires local access or user action to run code.
What the attacker needed
Local access or user runs code; Preview Pane can be a vector
The fix
Microsoft should release a security update for Microsoft 365 for Office and other affected versions to correct the buffer overflow.
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 fixed-size memory area than it can hold, spilling into nearby memory. Here, Microsoft Office has this flaw, and an attacker who can run code on the same machine could use it to run their own code. The Preview Pane, which shows a file without fully opening it, can also trigger the problem.
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.