CVE-2026-23532
CRITICALFreeRDP < 3.21.0 - Heap-based Buffer Overflow in gdi_SurfaceToSurface
Title source: llmDescription
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, a client-side heap buffer overflow occurs in the FreeRDP client’s `gdi_SurfaceToSurface` path due to a mismatch between destination rectangle clamping and the actual copy size. A malicious server can trigger a client‑side heap buffer overflow, causing a crash (DoS) and potential heap corruption with code‑execution risk depending on allocator behavior and surrounding heap layout. Version 3.21.0 contains a patch for the issue.
References (3)
Core 3
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-fq8c-87hj-7gvr
Product x_refsource_misc
https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/gdi/gfx.c#L1368-L1382
Release Notes x_refsource_misc
https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0
Scores
CVSS v3
9.8
EPSS
0.0057
EPSS Percentile
42.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-122
Status
published
Products (1)
freerdp/freerdp
< 3.21.0
Published
Jan 19, 2026
Tracked Since
Feb 18, 2026