CVE-2026-50387 Windows GDI Elevation of Privilege Vulnerability

High 7.8 Published Updated

A stack-based buffer overflow in Windows GDI allows local attackers 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-50387?

CVE-2026-50387 is a high-severity memory corruption vulnerability in Microsoft 365 Copilot, published on 14 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Stack-based buffer overflow in Windows GDI allows an authorized attacker to elevate privileges locally.

Weakness: CWE-121

Which versions are affected by CVE-2026-50387?

It affects 16 products.

Products include Microsoft 365 Copilot, Microsoft Microsoft 365, Microsoft Office 2021, Microsoft Office 2024, Microsoft Windows 10 1607, Microsoft Windows 10 1809 and 10 more.

How do I fix CVE-2026-50387?

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

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

All Microsoft 365 Copilot vulnerabilities

Sources

Also known as GHSA-9q2r-53gw-xr3v.

Is CVE-2026-50387 in your software?

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

Check your SBOMs for free