Skip to main content
← All vulnerabilities
CVE-2026-22851

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.20.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • FreeRDP FreeRDP

    fixed in 3.20.1

References 2

GitHub · FreeRDP/FreeRDP