Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim client to malicious RDP server
-
DeliveryStream ~16.9M crafted ORDER_BOUNDS orders
-
ExploitWrap bounds to zero-width clip region
-
ExecutionOPAQUE_RECT triggers unclipped gdi_FillRect
-
ImpactHeap out-of-bounds write enables code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
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 | A vulnerable FreeRDP client (before 3.33.0, i.e. <= 3.32.2) must initiate and maintain an RDP session to an attacker-controlled or compromised RDP server; this is a client-side 'malicious server' flaw, not a server-listening exposure. The server must reach CONNECTION_STATE_ACTIVE and advertise NEG_OPAQUE_RECT or NEG_PATBLT in its Order capabilities - and because capabilities.c adopts the peer's orderSupport directly, no non-default client configuration and no user interaction beyond establishing the connection are required. To trigger it the server must send approximately 16,909,320 ORDER_BOUNDS orders (each advancing left/right by +127) to raise the bounds to INT32_MAX, then one OPAQUE_RECT order carrying BOUND_DELTA_LEFT to wrap left to INT32_MIN and perform the write - roughly 2e8 bytes (~200 MB) of traffic in total. Limiting/defensive factors: the victim must connect out to the malicious server, the ~200 MB order flood is large and conspicuous (aiding detection and rate-limiting), and only builds before 3.33.0 are affected; the complete fix is updating to 3.33.0. |
| Impact | The input CVSS 4.0 base score is 8.8 (High) with AV:N/AC:L/PR:N/UI:N and an integrity-weighted impact (VC:N/VI:H/VA:L), reflecting a controlled heap out-of-bounds write. The critical nuance the raw vector understates is directionality: this is a client-side flaw in which the attacker is the RDP server and the victim is the FreeRDP client, so 'network, no privileges' really means the victim must connect to an attacker-controlled or compromised RDP server rather than an attacker reaching an exposed listener. No CISA KEV entry and no EPSS score are present in the provided data, so there is no signal of active or probable widespread exploitation; the vuln.today Decision label is 'this_week' (elevated but not act_now/emergency). A full PoC - complete malicious-server source (evil_server.c) and a reproduction script - is published inside the GHSA advisory and was reproduced on a specific commit, so working trigger code is effectively public even though the input provides no explicit 'POC confirmed' flag. Two practical factors temper the raw score: exploitation requires the client to initiate and hold a session to a malicious server, and the trigger needs roughly 16.9 million ORDER_BOUNDS orders (~200 MB / 2e8 bytes) to wrap the counter - a conspicuous, bandwidth-heavy precondition that favors targeted scenarios (malicious .rdp lures, RDP relays/MITM, compromised jump or gateway hosts) over opportunistic mass exploitation. Net: a genuine priority for any environment whose clients connect to untrusted third-party RDP servers, but reachable risk is bounded by the connect-out requirement and traffic volume, and 'code execution' is characterized by the vendor as potential (demonstrated primitive is an OOB write plus crash), not a confirmed RCE. |
| Exploit ScenarioDerived | An attacker runs or compromises an RDP server (or lures a FreeRDP user to it via a malicious .rdp file or a redirected/relayed connection). Once a client older than 3.33.0 completes the handshake and reaches CONNECTION_STATE_ACTIVE, the server streams roughly 16.9 million crafted ORDER_BOUNDS orders to wrap the accumulated bounds to INT32 limits, then sends a single OPAQUE_RECT order that bypasses clipping and causes a server-controlled heap out-of-bounds write in gdi_FillRect, potentially leading to code execution in the client. A complete malicious-server PoC and reproduction script are published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Heap out-of-bounds write in the FreeRDP client GDI engine lets a malicious or compromised RDP server corrupt memory in the connecting client and potentially achieve code execution. Any client build up to and including 3.32.2 is affected: because capabilities.c adopts the peer's orderSupport verbatim, a server that advertises NEG_OPAQUE_RECT or NEG_PATBLT can drive the bug once the session reaches CONNECTION_STATE_ACTIVE, with no non-default client configuration and no user action beyond opening the connection. Attackers must first send roughly 16.9 million ORDER_BOUNDS orders (about 200 MB of traffic) to push the accumulated drawing bounds to INT32_MAX, then a single OPAQUE_RECT order whose BOUND_DELTA_LEFT wraps the left edge to INT32_MIN so clipping is skipped and gdi_FillRect's memcpy runs past the drawing bitmap; there is no KEV entry or EPSS signal in the supplied data, but a public proof-of-concept has been reproduced against an unmodified client using a heap guard-page oracle. Fixed in 3.33.0, and the large, conspicuous order flood gives defenders a practical detection and rate-limiting lever.
RemediationAI
Vendor-released patch: upgrade FreeRDP to 3.33.0 (the first fixed version; all builds <= 3.32.2 are vulnerable), per GHSA-2hm9-2h5q-x525 at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-2hm9-2h5q-x525 and the VulnCheck advisory at https://www.vulncheck.com/advisories/freerdp-before-3.33.0-heap-out-of-bounds-write-via-order-bounds-integer-overflow. The vendor position reflected in the advisory is that updating is the complete fix; the two failing internal controls (the missing range clamp in update_read_bounds/gdi_set_bounds and the skip-clipping-on-FALSE behavior in gdi_ClipCoords) are both corrected by that release, so there is no supported partial fix short of the upgrade. Until clients are on 3.33.0, the practical compensating control is exposure reduction rather than code-level mitigation: prevent client sessions from reaching untrusted or unverified RDP endpoints, since the server must complete the handshake to CONNECTION_STATE_ACTIVE and advertise NEG_OPAQUE_RECT or NEG_PATBLT in its Order capabilities before it can deliver the trigger orders, and consider that constraint alongside the trade-off that legitimate third-party or internet-facing RDP gateways also become unreachable. Because the trigger requires roughly 16.9 million ORDER_BOUNDS orders, about 2e8 bytes (~200 MB) of fast-path order traffic arriving in a burst, network and session telemetry can usefully detect or throttle such a flood; rate-limiting that traffic curtails a specific attack run but does not repair the underlying memory-corruption path and can degrade responsiveness on high-latency or bandwidth-constrained links, so it is a stopgap only.
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
The flaw is CWE-190 integer overflow in FreeRDP's persistent primary drawing-order bounds handling. In libfreerdp/core/orders.c, update_read_bounds reads BOUND_DELTA_LEFT and BOUND_DELTA_RIGHT as one-byte INT8 values and accumulates them into orderInfo->bounds without any range clamping; update_recv_primary_order applies that accumulation and calls update->SetBounds (gdi_set_bounds, libfreerdp/gdi/gdi.c) before parsing the order's own fields. gdi_set_bounds computes right-left+1 and bottom-top+1 in INT32 arithmetic, so when left has wrapped to INT32_MIN while right sits at INT32_MAX the width collapses to 0 while height remains 1. The downstream validation layers fail open: gdi_SetRgn (libfreerdp/gdi/region.c) only rejects negative width or height, so a zero width is stored in hdc->clip and the null flag is cleared; gdi_RgnToRect computes x+w-1 in INT64, overflows INT32 and returns FALSE, but both callers treat that FALSE as a reason to skip work rather than abort drawing. In the non-empty-clip branch of gdi_ClipCoords (libfreerdp/gdi/clipping.c) a FALSE result returns TRUE without adjusting x, y, w or h, so clipping is bypassed entirely and the column-width clamp never applies. gdi_opaque_rect then obtains a valid rectangle from gdi_CRgnToRect and calls gdi_FillRect, whose SOLID branch (libfreerdp/gdi/shape.c) validates only each row's start pointer via gdi_get_bitmap_pointer before memcpy'ing nWidth pixels, writing past the drawing bitmap when nWidth exceeds the bitmap width. The same INT32 add/sub overflow is signed undefined behavior and fails outright under UBSan. The CPE cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:* with a vulnerable range of <= 3.32.2 and fix in 3.33.0 scopes the entire FreeRDP client product line; the trigger requires the server to reach CONNECTION_STATE_ACTIVE and advertise NEG_OPAQUE_RECT or NEG_PATBLT, and the write offset is server-controlled with length set by nWidth.
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:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Malicious-server client bug: the attacker is the server (PR:N) and the victim must connect (UI:R); the deterministic OOB write gives I:H, with A:H and C:H reflecting the potential code execution.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
FreeRDP before 3.33.0 contains an integer overflow in the client GDI handling of accumulated drawing-order bounds: wrapped INT32 coordinates yield a zero-width clip region that causes clipping to be skipped in gdi_FillRect. A malicious RDP server can send many ORDER_BOUNDS orders followed by an OPAQUE_RECT order to trigger a heap out-of-bounds write past the client's drawing bitmap, potentially leading to code execution.
Technical POC Analysis
CWE-190 signed integer overflow (undefined behavior in C, INT32 wrap in practice), in the FreeRDP client GDI engine.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity heap overflow in FreeRDP's client software (up to version 3.32.2) can be triggered by a malicious or compromised RDP server, allowing memory corruption that may lead to code execution on the connecting client. This puts any employee or system using FreeRDP to connect to untrusted RDP endpoints at risk, potentially enabling an attacker to take control of the client machine and access sensitive data or move laterally within the network.
Apply vendor patch.
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.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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-136618
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB