Buffer overflow in Freerdp
CVE-2026-23532
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 45.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Freerdp — versions < 3.21.0
Weakness classification (CWE)
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-fq8c-87hj-7gvr (Exploit, Vendor Advisory)
- https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/gdi/gfx.c#L1368-L1382 (Product)
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0 (Release Notes)
- access.redhat.com/errata/RHSA-2026:2048
- access.redhat.com/errata/RHSA-2026:2081
- access.redhat.com/errata/RHSA-2026:2222
- access.redhat.com/errata/RHSA-2026:2714
- access.redhat.com/errata/RHSA-2026:2736
- access.redhat.com/errata/RHSA-2026:2770
- access.redhat.com/errata/RHSA-2026:2824