home / blog
2026-11-10 · medium
CVE-2026-125394: Use-After-Free Vulnerability in FreeRDP
Use-after-free in FreeRDP before 3.33.0. Malicious RDP server can cause data disclosure or client crash.

CVE-2026-125394 is a use-after-free vulnerability in FreeRDP, the open-source RDP client. The flaw resides in three critical graphics rendering functions: update_gdi_patblt(), update_gdi_polygon_cb(), and update_gdi_mem3blt(). These functions retain stale pointers to brush cache; a malicious RDP server can resend CACHE_BRUSH to the same slot repeatedly, forcing the client to read freed heap memory. Impact is dual: data disclosure from memory and client crash.
The declared severity is medium (CVSS 5.4), yet the risk of data disclosure makes this flaw relevant for defenders. The vulnerability is confirmed by official NVD (published 2026-11-10) and consistent with GitHub signals from the same day. FreeRDP is widely adopted in enterprise and government environments for remote access. The realistic threat scenario is a compromised or attacker-controlled RDP server.
Immediate actions: update FreeRDP to version 3.33.0 or later on all systems running it. Verify which hosts in your network run FreeRDP via scanning or asset inventory. Audit RDP connections to untrusted or geographically anomalous servers. Implement network segmentation to isolate RDP traffic; use VPN with multi-factor authentication for remote access. Monitor anomalous RDP application crashes as exploitation indicator.
At a glance
- What
- FreeRDP is an open-source RDP client for remote access. The vulnerability is a use-after-free in three GDI functions: update_gdi_patblt(), update_gdi_polygon_cb(), and update_gdi_mem3blt(). The defect resides in stale brush cache pointers not properly invalidated. A malicious RDP server can repeatedly send CACHE_BRUSH to the same slot, forcing the client to read freed memory.
- Severity
- CVSS 5.4 - Medium. The risk of data disclosure from client memory and process crash make it relevant for critical environments.
- Affected versions
- FreeRDP before version 3.33.0
- Fix
- Update FreeRDP to version 3.33.0 or later. For systems unable to upgrade immediately, implement network segmentation and RDP connection auditing.
- Status
- Vulnerability confirmed by official NVD on 2026-11-10. Consistent GitHub signals from the same date. No OPSEC patches or special disclaimers reported.
- Action
- 1) Inventory systems running FreeRDP (network scanning, OS package manager). 2) Update to 3.33.0+ with priority. 3) Audit RDP connections to untrusted servers. 4) Implement VPN + MFA for remote access. 5) Monitor anomalous RDP process crashes.
Sources: NVD, CVE-2026-125394