CVE-2026-22851
FreeRDP RDPGFX ResetGraphics race leads to use-after-free in SDL client (sdl->primary)
- State
- Published
- Severity
- 6.9 Medium
- Published
- Jan 14, 2026
- Updated
- Jan 14, 2026
- Reserved
- Jan 12, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 | GitHub_M |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
FreeRDPFreeRDP |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.