Race Condition Affecting freerdp/freerdp package, versions [,3.20.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-FREERDPFREERDP-14947395
  • published16 Jan 2026
  • disclosed14 Jan 2026
  • creditKim Dong Han

Introduced: 14 Jan 2026

CVE-2026-22851  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade freerdp/freerdp to version 3.20.1 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition between the RDPGFX dynamic virtual channel thread and the SDL render thread during the ResetGraphics handling. An attacker can cause a heap use-after-free by triggering access to a freed pointer in sdl->primary through concurrent operations.

CVSS Base Scores

version 4.0
version 3.1