CVE-2026-23530
JSON

7.7high

FreeRDP has heap-buffer-overflow in planar_decompress_plane_rle

Severity
7.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
FreeRDP FreeRDP< 3.21.0, before 3.21.0CVE List, NVD
freerdpNot specified
Not affected: from 2:3.10.3-5.el10_1.1 before *, from 2:3.10.3-3.el10_0.1 before *, from 0:2.1.1-5.el7_9.1 before *, from 2:2.11.7-2.el8_10 before *, from 2:2.0.0-46.rc4.el8_2.6 before *, from 2:2.2.0-7.el8_4 before *
CVE List

All scores

GitHub_M7.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
redhat-SADP7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-122

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la versión 3.21.0, 'freerdp_bitmap_decompress_planar' no valida 'nSrcWidth'/'nSrcHeight' contra 'planar-&gt;maxWidth'/'maxHeight' antes de la decodificación RLE. Un servidor malicioso puede desencadenar un desbordamiento de búfer de pila del lado del cliente, causando un fallo (DoS) y una posible corrupción de la pila con riesgo de ejecución de código dependiendo del comportamiento del asignador y del diseño de la pila circundante. La versión 3.21.0 contiene un parche para el problema.

References

https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-r4hv-852m-fq7pexploit, vendor-advisory
https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/planar.c#L1689-L1696product
https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/planar.c#L1713-L1716product
https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/planar.c#L951-L953product
https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0release-notes
https://access.redhat.com/security/cve/CVE-2026-23530vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2430877issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23530.json
https://access.redhat.com/errata/RHSA-2026:2714vendor-advisory
https://access.redhat.com/errata/RHSA-2026:2952vendor-advisory
https://access.redhat.com/errata/RHSA-2026:2222vendor-advisory
https://access.redhat.com/errata/RHSA-2026:2081vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-23530 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-23530 changed 2026-07-15Public domain