Microsoft Office Remote Code Execution Vulnerability (CVE-2026-78505)
A heap-based buffer overflow in Microsoft Office lets an attacker run code on a victim's machine if the victim opens and saves a specially crafted document. The attacker needs no authentication but does need the user to interact with the file, and the Preview Pane can also trigger it.
Kentaro Kawane Follow with 0ccbbf129444eb66344ccafb92b00df4
Originally disclosed on Microsoft
Description
Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code over a network.
FAQ
Is the Preview Pane an attack vector for this vulnerability? Yes, the Preview Pane is an attack vector.
FAQ
How could an attacker exploit this vulnerability? An attacker could convince a user to open and save a specially crafted Microsoft Office document. Successful exploitation could allow the attacker to execute code in the context of the user. Authentication is not required, but user interaction is required.
FAQ
Are the updates for Microsoft Office LTSC for Mac 2021 and 2024 currently available? Yes. As of September 16, 2026, the security update for Microsoft Office LTSC for Mac 2021, 2024 and Microsoft Office 365 for Mac are available. Customers running Microsoft Office LTSC for Mac 2021, 2024 and Microsoft Office 365 for Mac 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
Root cause
Likely a heap buffer overflow in how Office parses a crafted document, with no bounds check on the data written.
Impact
Successful exploitation could let the attacker execute code in the context of the user; no authentication is needed, but user interaction is required, and the Preview Pane is also an attack vector.
What the attacker needed
Victim opens and saves a crafted document; or victim previews the document; no authentication needed
The fix
Microsoft released security updates for the affected Office versions, 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 buffer overflow is when a program writes more data into a fixed-size memory area than it can hold, so it spills into neighbouring memory. Here that spill happens in a heap (a pool of memory the program uses for dynamic data), and a crafted Office file can shape the spill so the attacker's code runs as the logged-in user. The victim has to open and save the file, or even just preview it.
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.