---
id: CVE-2026-121950
title: FreeRDP before 3.32.2 Heap Overflow via RDPGFX CREATE_SURFACE Integer Wrap
summary: >-
  FreeRDP before 3.32.2 does not check the product of surface dimensions in
  gdi_CreateSurface when handling an RDPGFX CREATE_SURFACE PDU, causing an
  integer wrap and heap buffer overflow on 32-bit builds and an approximately 4
  GiB allocati…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-122
vendor: FreeRDP
product: FreeRDP
affected:
  - FreeRDP < 3.32.2
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-04T18:42:28.554814Z'
exploitAvailable: true
published: '2026-11-04'
updated: '2026-11-04'
sourceUpdated: '2026-11-04T18:42:53.062Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-121950'
references:
  - url: 'https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f53w-3364-jr35'
    label: GitHub Security Advisory (GHSA-f53w-3364-jr35)
  - url: >-
      https://www.vulncheck.com/advisories/freerdp-before-3.32.2-heap-overflow-via-rdpgfx-create-surface-integer-wrap
    label: >-
      VulnCheck Advisory: FreeRDP before 3.32.2 Heap Overflow via RDPGFX
      CREATE_SURFACE Integer Wrap
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-11-05T21:36:00.495Z'
epss: 0.00335
epssPercentile: 0.27035
---

## Overview

FreeRDP before 3.32.2 does not check the product of surface dimensions in gdi_CreateSurface when handling an RDPGFX CREATE_SURFACE PDU, causing an integer wrap and heap buffer overflow on 32-bit builds and an approximately 4 GiB allocation on 64-bit builds. A malicious RDP server can send a CREATE_SURFACE PDU with width and height 32766 to a connecting client to corrupt heap memory or cause a denial of service.

## Affected

- `FreeRDP < 3.32.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
