CVE-2026-23884
Critical · CVSS 9.8FreeRDP — Use-After-Free (UAF) in offscreen bitmap cache leading to DoS / potential RCE
- CVSS
- 9.8
- nvd
- EPSS
- —
- KEV
- No
- Class
- oss containerizable
- CWE-416, CWE-416
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.
Search profile — drives PoC discovery
Symbols gdi->drawingoffscreen.cDeleteOffscreenBitmaplibfreerdp/cache/offscreen.cGHSA-cfgj-vc84-f3pprdp_recv_update_datagdi_bitmap_freeoffscreen_cache_delete
Keywords CVE-2026-23884FreeRDPuse-after-freeoffscreen bitmapgdi drawingUAFheap corruptionRCEFreeRDP cache offscreenGHSA-cfgj-vc84-f3ppFreeRDP 3.21.0malicious RDP serverclient-side UAF
Versions: < 3.21.0
References
- https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L114-L122
- https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L87-L91
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-cfgj-vc84-f3pp
- https://access.redhat.com/errata/RHSA-2026:2048
- https://access.redhat.com/errata/RHSA-2026:2081
- https://access.redhat.com/errata/RHSA-2026:2222
- https://access.redhat.com/errata/RHSA-2026:2714
- https://access.redhat.com/errata/RHSA-2026:2736
- https://access.redhat.com/errata/RHSA-2026:2770
- https://access.redhat.com/errata/RHSA-2026:2824
- https://access.redhat.com/errata/RHSA-2026:2952
Status: enriched · ingested 2026-06-30T06:00:22.000Z · profiled 2026-06-30T18:30:14.000Z