Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure FreeRDP client to malicious RDP server
-
DeliverySend 15-byte RDPGFX CREATE_SURFACE PDU (32766×32766)
-
ExploitInteger wrap in gdi_CreateSurface allocation sizing
-
ExecutionRow-init loop writes scanlines past allocation
-
ImpactHeap corruption (32-bit) or ~4 GiB client DoS (64-bit)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation is server-to-client: the victim must initiate an RDP connection to an attacker-controlled or compromised server, and the client must have the RDPGFX dynamic virtual channel with software GDI decoding enabled (the commonly-used graphics path). The attacker then sends a single CREATE_SURFACE PDU with width=height=32766 and pixelFormat XRGB_8888. The memory-corruption (heap overwrite) outcome is limited to clients built with a 32-bit size_t in the WinPR fallback allocator (non-Windows/MinGW 32-bit builds); ordinary 64-bit builds instead suffer only an ~4 GiB allocation denial-of-service, subject to OS allocation/commit policy. The principal limiting factors are therefore the required outbound connection to a hostile server and, for heap corruption specifically, a 32-bit build - a shrinking deployment share. |
| Impact | Signals are moderate and broadly consistent rather than conflicting. The supplied CVSS 4.0 base score is 7.1 (AV:N/AC:L/AT:N/PR:N/UI:P), and critically the vendor scored impact as availability-only (VC:N/VI:N/VA:H) - i.e. this is scoped primarily as a client denial-of-service, not a confidentiality/integrity compromise. There is no CISA KEV entry and no EPSS score in the supplied data, so exploitation status is 'no public exploit identified at time of analysis' for a network-ready attack; however, the GHSA advisory embeds a bounded, self-contained ASan reproducer that triggers the 32-bit allocator overflow, so a public PoC reference exists but it is not verified as working network exploit code (the report deliberately omits a ready-to-send malicious server). No SSVC decision vector was supplied; the only priority signal is the vuln.today 'this_week' label, which is consistent with a patch-promptly-but-not-emergency posture. The real limiting factor is the direction and conditions of attack: it is server-to-client (the victim must connect to a malicious/compromised RDP server, UI:P/UI:R), and the heap-corruption outcome requires a 32-bit build of FreeRDP/WinPR, which is increasingly uncommon; ordinary 64-bit builds get only the ~4 GiB allocation DoS. Net: a genuine but mid-tier priority - worth patching this week, not an emergency, with the worst-case memory corruption gated on now-rare 32-bit clients. |
| Exploit ScenarioDerived | An attacker runs or compromises an RDP server and induces a FreeRDP client (with the RDPGFX dynamic virtual channel and software GDI decoding active) to connect - for example via a malicious .rdp file, a redirected/MITM connection, or a rogue gateway. Immediately after the graphics channel is negotiated, the server sends a 15-byte CREATE_SURFACE PDU with width and height both 32766, triggering the integer wrap in gdi_CreateSurface: on a 32-bit client the subsequent row-initialization loop overwrites the heap past the under-sized allocation, while a 64-bit client is forced into an ~4 GiB allocation and denial of service. A bounded ASan proof-of-concept in the advisory demonstrates the 32-bit heap overflow, but no ready-to-send malicious server was published. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Heap buffer overflow and denial of service in FreeRDP clients before 3.32.2 stem from an unchecked surface-size multiplication in the RDPGFX CREATE_SURFACE path. An unauthenticated malicious RDP server can send width and height 32766; 32-bit clients using the WinPR fallback allocator can suffer a heap overwrite, while ordinary 64-bit clients can be driven into an approximately 4 GiB allocation denial of service. Exploitation requires the victim to initiate a connection to the hostile server with the RDPGFX dynamic virtual channel and software GDI decoding enabled; the advisory includes a bounded PoC verifier, not a ready-to-send malicious server, and no KEV entry is provided.
RemediationAI
Upgrade FreeRDP clients to 3.32.2 or later; 3.32.2 is the vendor-released fixed version identified for this issue, and the packaged vulnerable range is <= 3.32.1. The advisory's code-level remediation requires checked multiplication before allocation, a local policy cap on both per-surface bytes and total RDPGFX surface memory, keeping allocation and initialization based on the same checked byte count, and hardening winpr_aligned_offset_recalloc to reject num > SIZE_MAX / size so other callers cannot repeat this class. Until upgraded, restrict client connections to trusted RDP servers, since the attack is server-to-client and requires the victim to initiate the connection; avoid the RDPGFX dynamic virtual channel with software GDI decoding where operationally feasible, but note that this narrows exposure only and does not remediate the unchecked allocation. Advisory: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-f53w-3364-jr35.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreeRDP implements the RDPGFX dynamic virtual channel, and its CREATE_SURFACE PDU carries attacker-controlled UINT16 width and height fields. The receiver validates each dimension independently against MAX_SURFACE_SIZE but does not check their product. In gdi_CreateSurface, dimensions of 32766 are aligned to 32768, producing a scanline of 131088 bytes (32768 * 4 + 16), and the code calls winpr_aligned_calloc(scanline, height, 16); winpr_aligned_offset_recalloc then multiplies size * num without a checked multiplication. On a 32-bit size_t, 131088 * 32768 equals 4,295,491,584, which wraps to 524,288 bytes. The subsequent row-wise initialization writes full 131088-byte scanlines, so zero-based row 3 starts at offset 393264 and overflows the allocation by 64 bytes at its end. On 64-bit builds the product does not wrap, but the small PDU still requests and initializes about 4 GiB, causing a client denial of service subject to OS allocation and commit policy. This is a CWE-122 heap-based buffer overflow rooted in CWE-190 integer overflow, tracked under CPE cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*.
Know when Freerdp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Malicious server over the network (AV:N) with a single deterministic PDU (AC:L) and no client privileges (PR:N); victim must initiate the connection (UI:R); demonstrated impact is client DoS (A:H) with corruption not shown beyond that (C:N/I:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-122 (heap-based buffer overflow), enabled by CWE-190 (integer wraparound).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
FreeRDP clients before version 3.32.2 are vulnerable to a heap buffer overflow and denial-of-service condition triggered by malicious RDP servers. All users connecting to untrusted endpoints are affected, potentially leading to client crashes or memory corruption, but exploitation requires user-initiated connections. Leadership should prioritize this due to remote code execution risk on 32-bit systems and service disruption, though no active exploitation has been reported.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling the RDPGFX dynamic virtual channel or software GDI decoding if not required, restricting outbound RDP connections to approved servers, and using network segmentation to limit exposure to untrusted RDP endpoints.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti
Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor
Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem
FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi
FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai
FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and
FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
EUVD-2026-116950
GHSA-j727-x54m-hfv3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB