Skip to content
RCE Advisory Intermediate CVE-2025-21361

Microsoft Outlook Remote Code Execution Vulnerability (CVE-2025-21361)

Outlook for Mac's protection against dangerous file attachments could be bypassed, allowing an attacker to deliver a malicious file. A victim who opens the attachment could then have code executed on their machine.

Shubh Sidhu Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

How could an attacker exploit this vulnerability? The attacker would be able to bypass the protection in Outlook that prevents a potentially dangerous file extension from being attached enabling a remote code execution.

FAQ

Which version of Outlook for Mac does this affect? This vulnerability only affects the Legacy version of Outlook for Mac which is described in this documentation: Outlook for Mac . Customers who have enabled the new Outlook experience are not affected.

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 Attachment Preview Pane an attack vector for this vulnerability? Yes. The attachment Preview Pane that is accessed when a user clicks to preview an attached file is an attack vector; however, the email Preview Pane itself is not.

Microsoft Office Outlook for Mac

Microsoft Office Outlook for Mac

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Shubh Sidhu. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 the check that blocks dangerous attachment extensions could be bypassed, so a file with a dangerous extension still reached the user.

Impact

An attacker could achieve code execution on the victim's machine, but only if the victim opens or previews the crafted attachment; the new Outlook experience is not affected.

What the attacker needed

Legacy Outlook for Mac; victim opens or previews attachment

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.

Outlook normally blocks certain file types that are known to be dangerous, like programs that can run code. This bug let an attacker get around that block, so a harmful file could arrive as an attachment. If the person then opened or previewed it, the attacker's code could run on their computer.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.