Use After Free in Freerdp
CVE-2026-23884
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.
Vulnerability class: Use-After-Free
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, 42.3th 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-cfgj-vc84-f3pp (Exploit, Vendor Advisory)
- https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L114-L122 (Product)
- https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L87-L91 (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