Description
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.
Problem types
CWE-122: Heap-based Buffer Overflow
Product status
References
github.com/...reeRDP/security/advisories/GHSA-fq8c-87hj-7gvr
github.com/...45a86cfbcec279033f8394468/libfreerdp/gdi/gfx.c
github.com/FreeRDP/FreeRDP/releases/tag/3.21.0