CVE-2026-23531
JSON

7.7high

FreeRDP has heap-buffer-overflow in clear_decompress

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, 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.

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 yes, 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, 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.

NVD (es)

FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la versión 3.21.0, en ClearCodec, cuando 'glyphData' está presente, 'clear_decompress' llama a 'freerdp_image_copy_no_overlap' sin validar el rectángulo de destino, lo que permite una lectura/escritura fuera de límites a través de actualizaciones de superficie RDPGFX manipuladas. Un servidor malicioso puede desencadenar un desbordamiento de búfer de pila del lado del cliente, causando un fallo (DoS) y una potencial corrupción de pila con riesgo de ejecución de código, dependiendo del comportamiento del asignador y del diseño de pila circundante. La versión 3.21.0 contiene un parche para el problema.

References

https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-xj5h-9cr5-23c5exploit, vendor-advisory
https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/codec/clear.c#L1139-L1145product
https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0release-notes
https://access.redhat.com/security/cve/CVE-2026-23531vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2430887issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23531.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
https://access.redhat.com/errata/RHSA-2026:3039vendor-advisory
https://access.redhat.com/errata/RHSA-2026:3038vendor-advisory

Sources

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