CVE-2026-121950
Undergoing Analysis Undergoing Analysis - In Progress

Integer Overflow in FreeRDP Leading to Heap Buffer Overflow

Vulnerability report for CVE-2026-121950, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-04

Last updated on: 2026-11-04

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-04
Last Modified
2026-11-04
Generated
2026-11-04
AI Q&A
2026-11-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
FreeRDP FreeRDP 0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-121950 is a heap overflow vulnerability in FreeRDP versions before 3.32.2. It occurs when handling an RDPGFX CREATE_SURFACE PDU. The client fails to check the product of surface dimensions in the gdi_CreateSurface function. This causes an integer wrap, leading to a heap buffer overflow on 32-bit builds or a 4 GiB allocation on 64-bit builds. An attacker can exploit this by sending a malicious PDU with width and height set to 32766.

Detection Guidance

To detect this vulnerability, check the FreeRDP version on your system. Run: freerdp2-shadow --version or apt show freerdp2. If the version is below 3.32.2, the system is vulnerable. Monitor network traffic for RDPGFX CREATE_SURFACE PDUs with width and height set to 32766.

Impact Analysis

This vulnerability can allow a malicious RDP server to corrupt heap memory on 32-bit systems or cause a denial of service on 64-bit systems. It requires the victim to use a FreeRDP client with RDPGFX dynamic virtual channel and software GDI decoding enabled. The attack involves connecting to a compromised server that sends a specially crafted PDU.

Mitigation Strategies

Immediately update FreeRDP to version 3.32.2 or later. Disable the RDPGFX dynamic virtual channel and software GDI decoding if not required. Restrict RDP connections to trusted servers only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-121950. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...