Buffer overflow in Freerdp
CVE-2026-23530
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0,`freerdp_bitmap_decompress_planar` does not validate `nSrcWidth`/`nSrcHeight` against `planar->maxWidth`/`maxHeight` before RLE decode. 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-r4hv-852m-fq7p (Exploit, Vendor Advisory)
- https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/planar.c#L1689-L1696 (Product)
- https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/planar.c#L1713-L1716 (Product)
- https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/planar.c#L951-L953 (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