CVE-2025-29979 Microsoft Excel Remote Code Execution Vulnerability

High 7.8 Published Updated

An attacker can execute arbitrary code locally via a heap-based buffer overflow 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
A user has to click or open something
Fix
None listed

What is CVE-2025-29979?

CVE-2025-29979 is a high-severity memory corruption vulnerability in Microsoft 365 Apps, published on 13 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2025-29979?

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-29979?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-29979 being exploited?

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

All Microsoft 365 Apps vulnerabilities

Sources

Also known as GHSA-q2x2-x5wc-3cp8.

Is CVE-2025-29979 in your software?

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

Check your SBOMs for free