CVE-2026-22851 PUBLISHED

FreeRDP RDPGFX ResetGraphics race leads to use-after-free in SDL client (sdl->primary)

Assigner: GitHub_M
Reserved: 12.01.2026 Published: 14.01.2026 Updated: 14.01.2026

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.20.1, a race condition between the RDPGFX dynamic virtual channel thread and the SDL render thread leads to a heap use-after-free. Specifically, an escaped pointer to sdl->primary (SDL_Surface) is accessed after it has been freed during RDPGFX ResetGraphics handling. This vulnerability is fixed in 3.20.1.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
CVSS Score: 6.9

Product Status

Vendor FreeRDP
Product FreeRDP
Versions
  • Version < 3.20.1 is affected

References

Problem Types

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') CWE
  • CWE-416: Use After Free CWE