Windows GDI stack-based buffer overflow privilege escalation
CVE-2026-50387High
A stack-based buffer overflow exists in Windows GDI that allows an authorised attacker to elevate their privileges on the local system. An attacker with local access could exploit this flaw by providing specially crafted input to GDI functions, causing a buffer overflow that overwrites stack memory. This could enable the attacker to execute arbitrary code with elevated privileges.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Weakness: CWE-121 (opens in a new tab)
Affected versions
- microsoft 365 copilot: All versions listed
- microsoft microsoft 365: All versions listed
- microsoft office 2021: All versions listed
- microsoft office 2024: All versions listed
- microsoft windows 10 1607: before 10.0.14393.9339
- microsoft windows 10 1809: before 10.0.17763.9020
- microsoft windows 10 21h2: before 10.0.19044.7548
- microsoft windows 10 22h2: before 10.0.19045.7548
- microsoft windows 11 24h2: before 10.0.26100.8875
- microsoft windows 11 25h2: before 10.0.26200.8875
- microsoft windows 11 26h1: before 10.0.28000.2269
- microsoft windows 11 26h1: before 10.0.28000.2525
- microsoft windows server 2012: All versions listed
- microsoft windows server 2012: r2
- microsoft windows server 2016: before 10.0.14393.9339
- microsoft windows server 2019: before 10.0.17763.9020
- microsoft windows server 2022: before 10.0.20348.5386
- microsoft windows server 2025: before 10.0.26100.33158
Reports naming this CVE1 in total
· MSRC Security Update Guide
CVE-2026-50387 Windows GDI Elevation of Privilege Vulnerability (opens in a new tab)