CVE-2026-23884 Heap-use-after-free in gdi_set_bounds

High 7.7 Published Updated

A malicious RDP server can trigger a use-after-free in the FreeRDP client, leading to crashes or potential remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-23884?

CVE-2026-23884 is a high-severity use after free vulnerability in Freerdp Freerdp, published on 19 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-416

Which versions are affected by CVE-2026-23884?

It affects 1 product.

Products include Freerdp Freerdp.

How do I fix CVE-2026-23884?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-23884 being exploited?

There is no known exploitation of CVE-2026-23884 in the wild and no public exploit code.

All Freerdp Freerdp vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-23884, GHSA-cfgj-vc84-f3pp, MINI-gwq4-fq38-5gwj, UBUNTU-CVE-2026-23884.

Is CVE-2026-23884 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free