Windows GDI Elevation of Privilege Vulnerability (CVE-2026-50387)
A stack-based buffer overflow exists in Windows GDI. An attacker who already has local access and is authorised could exploit it to gain SYSTEM privileges.
Originally disclosed on Microsoft
Description
Stack-based buffer overflow in Windows GDI allows an authorized attacker to elevate privileges locally.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.
Windows GDI
Windows GDI
Microsoft
Microsoft
Customer Action Required
Yes
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 a missing or incorrect length check when copying data into a fixed-size stack buffer in Windows GDI.
Impact
An attacker with local access and authorisation could elevate their privileges to SYSTEM.
What the attacker needed
Local access to the machine; authorised low-privilege account
The fix
Microsoft requires a customer action, implying a security update should be applied.
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.
A buffer overflow is when a program writes more data into a fixed-size memory area than it can hold, which can corrupt nearby memory. Here the flaw is in a core Windows graphics component, and someone who can already run code on the machine could use it to become the most powerful user (SYSTEM). The text gives no technical details about how the overflow is triggered.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.