CVE-2026-22851 MEDIUM

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

Vendor Freerdp
Product FreeRDP
Weakness CWE-362
Published January 14, 2026
Last update January 14, 2026

CVSS base score

6.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality
Integrity

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 14, 2026 CVE published
January 14, 2026 Record updated