{"id":"CVE-2026-22851","published":"2026-01-14T17:43:28Z","modified":"2026-01-14T21:03:36Z","title":"FreeRDP RDPGFX ResetGraphics race leads to use-after-free in SDL client (sdl->primary)","vendor":"FreeRDP","product":"FreeRDP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00409,"percentile":0.26741,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"},{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-8g87-6pvc-wh99","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FreeRDP/FreeRDP/releases/tag/3.20.1","tags":["x_refsource_MISC"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":5.35},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"freerdp","affectedVersions":[{"vendor":"FreeRDP","product":"FreeRDP","versions":["< 3.20.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T21:03:26.062441Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-2677","exploited":false,"provenance":"source"}}