VDB

CVE-2026-22851

CVE-2026-22851 PUBLISHED CVSS 6.9 MEDIUM

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

Reported by github_m · Published January 14, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
freerdpAlpine3.22.0-r0
freerdp-develAmazon Linux2:3.6.3-1.amzn2023.0.3

Risk scores

CVSS 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

Affected products

VendorProductVersions
FreeRDPFreeRDP< 3.20.1
FreeRDPFreeRDP0

Timeline

  • Jan 13, 2026 CVE Published
  • Jan 15, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Sep 28, 2026 CVE Updated
  • Oct 4, 2026 Distribution Patch (29 in total, the first dated here)
  • Oct 4, 2026 Security Advisory (33 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-22851
vulnetix vdb fixes CVE-2026-22851

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-22851/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›