CVE-2025-21362 Microsoft Excel Remote Code Execution Vulnerability

High 8.4 Published Updated

Attackers can execute arbitrary code by exploiting a use-after-free flaw in Microsoft Excel, requiring user interaction to open a malicious file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-21362?

CVE-2025-21362 is a high-severity use after free vulnerability in Microsoft 365 Apps, published on 14 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Microsoft Excel Remote Code Execution Vulnerability

Weakness: CWE-416

Which versions are affected by CVE-2025-21362?

It affects 5 products.

Products include Microsoft 365 Apps, Microsoft Excel, Microsoft Office, Microsoft Office Long Term Servicing Channel, Microsoft Office Online Server.

How do I fix CVE-2025-21362?

No fix has been published for CVE-2025-21362 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-21362 being exploited?

There is no known exploitation of CVE-2025-21362 in the wild and no public exploit code.

All Microsoft 365 Apps vulnerabilities

Sources

Also known as GHSA-rpm2-368c-rjhr.

Is CVE-2025-21362 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free