CVE-2026-121957: FreeRDP use-after-free in planar bitmap decoder

CVE-2026-121957 · Severity: high · CVSS 7.5 · Published 2026-11-04

FreeRDP is a remote desktop client that connects to Windows RDP servers. A malicious RDP server can exploit a race condition to corrupt memory in the FreeRDP client process, potentially leading to client crashes or code execution. The vulnerability requires the server to be in an active session and exploits timing differences between concurrent operations.

Technologies: FreeRDP. Vendors: FreeRDP.

Quick answers

Is CVE-2026-121957 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-121957 being exploited in the wild.
How severe is CVE-2026-121957?
High severity, with a CVSS score of 7.5, published 4 November 2026.
Which products and versions are affected?
FreeRDP before 3.32.2.
Is there a fix for CVE-2026-121957?
Yes: fixed in 3.32.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-121957 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-121957?
Check whether you run FreeRDP at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 3.32.2

Technical details

The vulnerability is a use-after-free / race condition in the planar bitmap decoder (libfreerdp/codec/planar.c) where the RDPGFX ResetGraphics handler on the drdynvc thread can concurrently reset shared planar context buffers (pTempData, planesBuffer) while the main thread's planar bitmap decoder is actively reading/writing to them. No synchronization lock protects access to the BITMAP_PLANAR_CONTEXT across these threads. A remote attacker in the ACTIVE RDP session state can interleave ResetGraphics PDUs with 32+ bpp compressed bitmap updates to trigger heap corruption.

Affected products

  • FreeRDP FreeRDP before 3.32.2

Timeline

  • 2026-10-20: disclosed
  • 2026-11-04: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.