Buffer overflow in Freerdp
CVE-2026-23531
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, in ClearCodec, when `glyphData` is present, `clear_decompress` calls `freerdp_image_copy_no_overlap` without validating the destination rectangle, allowing an out-of-bounds read/write via crafted RDPGFX surface updates. 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-xj5h-9cr5-23c5 (Exploit, Vendor Advisory)
- https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/clear.c#L1139-L1145 (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