CVE-2026-22851 Details
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.
A heap use-after-free vulnerability has been identified in FreeRDP versions prior to 3.20.1. This issue arises from a race condition between the RDPGFX dynamic virtual channel thread and the SDL render thread. The vulnerability occurs when an escaped pointer to the primary SDL_Surface is accessed after it has been freed, during the handling of RDPGFX ResetGraphics. This flaw is present in the FreeRDP SDL3 client only.
Users can upgrade to FreeRDP version 3.20.1 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/FreeRDP/FreeRDP/releases/tag/3.20.1 | [email protected] | Release Notes |
| https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-8g87-6pvc-wh99 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| freerdp freerdp | < 3.20.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 20, 2026 | Initial Analysis | [email protected] |
| Jan 14, 2026 | New CVE Received | [email protected] |