# CVE-2026-50387: Microsoft Windows GDI stack-based buffer overflow privilege escalation

Source: https://junglewise.ai/threats/cve-2026-50387-microsoft-windows-gdi-stack-based-buffer-overflow-privilege  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-14. Updated: 2026-07-14  
License: CC BY 4.0 with a link back

CVE-2026-50387 · Severity: high · CVSS 7.8 · Published 2026-07-14

A security vulnerability has been identified in the Windows Graphics Device Interface (GDI), a core component responsible for representing graphical objects and transmitting them to output devices like monitors and printers. An attacker who already has basic access to a system could exploit this flaw to gain full administrative control. This could allow them to view or delete sensitive data, install malicious software, or disrupt business operations.

Technologies: [Microsoft Office for Android](https://junglewise.ai/threats/technologies/office-for-android), [Microsoft Windows 11](https://junglewise.ai/threats/technologies/windows-11), [Microsoft Windows 10](https://junglewise.ai/threats/technologies/windows-10). Vendors: [Microsoft](https://junglewise.ai/threats/vendors/microsoft).

## Quick answers

**Is CVE-2026-50387 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-50387 being exploited in the wild.

**How severe is CVE-2026-50387?** High severity, with a CVSS score of 7.8, published 14 July 2026.

**Which products and versions are affected?** Microsoft Office for Android < 16.0.20228.20042; Microsoft Office for Mac 365, LTSC 2021, LTSC 2024 (versions < 16.111.26071215); Microsoft Windows 11 Versions 24H2, 25H2; Microsoft Windows 10 Versions 1607, 1809, 21H2, 22H2.

**Is there a fix for CVE-2026-50387?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-50387 attacked?** It is attacked with local access, in an operating system.

**Am I affected by CVE-2026-50387?** Check whether you run Microsoft Office for Android, Microsoft Office for Mac, Microsoft Windows 11 or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stack-based buffer overflow (CWE-121) exists in the Windows Graphics Device Interface (GDI) component. The vulnerability is triggered when the component improperly handles specific graphical objects or data structures in memory. An attacker with low-privileged local access can exploit this flaw by running a specially crafted application to overwrite stack memory, leading to arbitrary code execution with elevated privileges (typically SYSTEM). The vulnerability affects multiple versions of Windows 10, Windows 11, and Microsoft Office suites on Mac and Android. Microsoft has released security updates to address this issue.

## Affected products

- Microsoft Windows 10 Versions 1607, 1809, 21H2, 22H2
- Microsoft Windows 11 Versions 24H2, 25H2
- Microsoft Microsoft Office for Mac 365, LTSC 2021, LTSC 2024 (versions < 16.111.26071215)
- Microsoft Microsoft Office for Android < 16.0.20228.20042

## Timeline

- 2026-07-14: disclosed
- 2026-07-14: advisory

## References

- [https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50387](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50387)

## Related threats

- [Microsoft Windows Recovery Environment UEFI/BIOS password bypass](https://junglewise.ai/threats/cve-2026-116638-the-windows-recovery-environment-winre-in-windows-10-and-11-may)
- [Use after free in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.](https://junglewise.ai/threats/cve-2026-68820-microsoft-windows-ancillary-function-driver-for-winsock-use-after)
- [Microsoft Windows Backup Engine privilege escalation](https://junglewise.ai/threats/cve-2026-58598-microsoft-windows-backup-engine-privilege-escalation)
- [Microsoft Windows Boot Loader security feature bypass](https://junglewise.ai/threats/cve-2026-58638-microsoft-windows-boot-loader-security-feature-bypass)
- [Microsoft Windows Client-Side Caching Service privilege escalation](https://junglewise.ai/threats/cve-2026-58637-microsoft-windows-client-side-caching-service-privilege)
