CVE-2026-23884
JSON

7.7high

Heap-use-after-free in gdi_set_bounds

Severity
7.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.48% (higher than 43% 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, offscreen bitmap deletion leaves `gdi->drawing` pointing to freed memory, causing UAF when related update packets arrive. A malicious server can trigger a client‑side use after free, 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-416

SSVC (CISA-ADP): exploitation none, 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, offscreen bitmap deletion leaves `gdi->drawing` pointing to freed memory, causing UAF when related update packets arrive. A malicious server can trigger a client‑side use after free, 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, la eliminación de mapas de bits fuera de pantalla deja 'gdi-&gt;drawing' apuntando a memoria liberada, causando UAF cuando llegan paquetes de actualización relacionados. Un servidor malicioso puede desencadenar un uso después de la liberación del lado del cliente, causando un fallo (DoS) y una posible corrupción del heap con riesgo de ejecución de código, dependiendo del comportamiento del asignador y del diseño del heap circundante. La versión 3.21.0 contiene un parche para el problema.

References

https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-cfgj-vc84-f3ppexploit, vendor-advisory
https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L114-L122product
https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L87-L91product
https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0release-notes
https://access.redhat.com/security/cve/CVE-2026-23884vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2430880issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23884.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

Sources

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