CVE-2026-22851 json
FreeRDP RDPGFX ResetGraphics race leads to use-after-free in SDL client (sdl->primary)
published 2026-01-14 9 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-2677
- cvss
- 5.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
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.
Patch / fix
- freerdp freerdp 3.20.1
- freerdp3 Debian 13 3.15.0+dfsg-2.1+deb13u1
- freerdp3 Debian 14 3.20.2+dfsg-1
debian advisories DEBIAN-CVE-2026-22851
- freerdp3 Ubuntu 24.04 LTS 3.5.1+dfsg1-0ubuntu1.4
- freerdp3 Ubuntu 25.10 3.16.0+dfsg-2ubuntu0.3
- freerdp3 Ubuntu 26.04 LTS 3.20.2+dfsg-1
ubuntu advisories UBUNTU-CVE-2026-22851
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- freerdp SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 3.10.3-150700.3.3.1
suse advisories SUSE-SU-2026:0345-1
- freerdp openSUSE Leap 16.0 3.22.0-160000.1.1
- freerdp openSUSE Tumbleweed 3.20.2-1.1
opensuse advisories openSUSE-SU-2026:20339-1openSUSE-SU-2026:10059-1
- freerdp Alpine 3.23 3.22.0-r0
alpine advisories ALPINE-CVE-2026-22851
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-22851 updated cvss 5.0
freerdp: FreeRDP RDPGFX ResetGraphics race
-
Red Hat Enterprise Linux 6 freerdp, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 7 freerdp, libwinpr, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 8 freerdp, libwinpr, freerdp-libs Red Hat Enterprise Linux 9 freerdp, libwinpr, freerdp-libs Red Hat Enterprise Linux 10 freerdpaffected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-8g87-6pvc-wh99 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 |
| CNA | 4.0 | 6.9 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- FreeRDP FreeRDP
Classification
References
-
github.com
/FreeRDP/FreeRDP/security/advisories/GHSA-8g87-6pvc-wh99
exploit, vendor-advisory
-
github.com
/FreeRDP/FreeRDP/releases/tag/3.20.1
release-notes
Sources
- CVE List CVE-2026-22851
- NVD CVE-2026-22851
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.