CVE-2026-40419 Microsoft Office Click-To-Run Elevation of Privilege Vulnerability

High 7.8 Published Updated

An authorized local attacker can exploit a use-after-free flaw in Microsoft Office to elevate privileges.

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

What is CVE-2026-40419?

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

Official description

Use after free in Microsoft Office allows an authorized attacker to elevate privileges locally.

Weakness: CWE-416

Which versions are affected by CVE-2026-40419?

It affects 3 products.

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

How do I fix CVE-2026-40419?

No fix has been published for CVE-2026-40419 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-2026-40419 being exploited?

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

All Microsoft 365 Apps vulnerabilities

Sources

Also known as GHSA-qm7q-9qmg-qg28.

Is CVE-2026-40419 in your software?

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

Check your SBOMs for free