---
id: CVE-2026-50387
title: >-
  Stack-based buffer overflow in Windows GDI allows an authorized attacker to
  elevate privileges locally.
summary: >-
  Stack-based buffer overflow in Windows GDI allows an authorized attacker to
  elevate privileges locally.
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-121
vendor: microsoft
product: 365_copilot
affected:
  - 365_copilot
  - microsoft_365
  - office_2021
  - office_2024
  - windows_10_1607 < 10.0.14393.9339
  - windows_10_1809 < 10.0.17763.9020
  - windows_10_21h2 < 10.0.19044.7548
  - windows_10_22h2 < 10.0.19045.7548
  - windows_11_24h2 < 10.0.26100.8875
  - windows_11_25h2 < 10.0.26200.8875
  - windows_11_26h1 < 10.0.28000.2269
  - windows_11_26h1 < 10.0.28000.2525
  - windows_server_2012
  - windows_server_2012 = r2
  - windows_server_2016 < 10.0.14393.9339
  - windows_server_2019 < 10.0.17763.9020
  - windows_server_2022 < 10.0.20348.5386
  - windows_server_2025 < 10.0.26100.33158
patched:
  - windows_10_1607 10.0.14393.9339
  - windows_10_1809 10.0.17763.9020
  - windows_10_21h2 10.0.19044.7548
  - windows_10_22h2 10.0.19045.7548
  - windows_11_24h2 10.0.26100.8875
  - windows_11_25h2 10.0.26200.8875
  - windows_11_26h1 10.0.28000.2525
  - windows_server_2016 10.0.14393.9339
  - windows_server_2019 10.0.17763.9020
  - windows_server_2022 10.0.20348.5386
  - windows_server_2025 10.0.26100.33158
published: '2026-07-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T22:10:00.210'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-50387'
references:
  - url: 'https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50387'
    label: secure@microsoft.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-07-15T00:00:00+00:00'
epss: 0.00333
epssPercentile: 0.26499
ingestedAt: '2026-09-08T17:06:31.918Z'
---

## Overview

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

## Affected

- `365_copilot`
- `microsoft_365`
- `office_2021`
- `office_2024`
- `windows_10_1607 < 10.0.14393.9339`
- `windows_10_1809 < 10.0.17763.9020`
- `windows_10_21h2 < 10.0.19044.7548`
- `windows_10_22h2 < 10.0.19045.7548`
- `windows_11_24h2 < 10.0.26100.8875`
- `windows_11_25h2 < 10.0.26200.8875`
- `windows_11_26h1 < 10.0.28000.2269`
- `windows_11_26h1 < 10.0.28000.2525`
- `windows_server_2012`
- `windows_server_2012 = r2`
- `windows_server_2016 < 10.0.14393.9339`
- `windows_server_2019 < 10.0.17763.9020`
- `windows_server_2022 < 10.0.20348.5386`
- `windows_server_2025 < 10.0.26100.33158`

## Remediation

Upgrade past the affected range:

- `windows_10_1607 10.0.14393.9339`
- `windows_10_1809 10.0.17763.9020`
- `windows_10_21h2 10.0.19044.7548`
- `windows_10_22h2 10.0.19045.7548`
- `windows_11_24h2 10.0.26100.8875`
- `windows_11_25h2 10.0.26200.8875`
- `windows_11_26h1 10.0.28000.2525`
- `windows_server_2016 10.0.14393.9339`
- `windows_server_2019 10.0.17763.9020`
- `windows_server_2022 10.0.20348.5386`
- `windows_server_2025 10.0.26100.33158`
