CVE-2026-23884: Heap-use-after-free in gdi_set_bounds
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/freerdpto a version that resolves this vulnerability.Fixed in 3.22.0-r0 - Upgrade
Upgrade
alpine/freerdpto a version that resolves this vulnerability.Fixed in 3.21.0-r0 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.5.1+dfsg1-0ubuntu1.4 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.16.0+dfsg-2ubuntu0.3 - Upgrade
Upgrade
FreeRDPto a version that resolves this vulnerability.Fixed in 3.21.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23884?
CVE-2026-23884 has a high severity due to the potential for a heap-use-after-free vulnerability that can be exploited by a malicious server.
How do I fix CVE-2026-23884?
To fix CVE-2026-23884, update FreeRDP to version 3.21.0 or later, which includes a patch for this vulnerability.
What causes the CVE-2026-23884 vulnerability?
CVE-2026-23884 is caused by offscreen bitmap deletion that leaves a pointer to freed memory unguarded, which can be exploited.
Who is affected by CVE-2026-23884?
Users of FreeRDP versions prior to 3.21.0 are affected by CVE-2026-23884, particularly those utilizing Remote Desktop Protocol.
What kind of attack can CVE-2026-23884 enable?
CVE-2026-23884 can enable a malicious server to trigger client-side application crashes or arbitrary code execution due to the use-after-free condition.