CVE-2026-22856

FreeRDP has a heap-use-after-free in create_irp_thread

Published Jan 14, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.20.1, a race in the serial channel IRP thread tracking allows a heap use‑after‑free when one thread removes an entry from serial->IrpThreads while another reads it. This vulnerability is fixed in 3.20.1.

Analysis

AI-generated

Technical impact

A race condition in FreeRDP’s serial channel IRP thread tracking can cause a heap use‑after‑free. When one thread removes an entry from the serial->IrpThreads list while another thread reads it, an invalid pointer may be dereferenced, which may corrupt memory or cause a crash. The flaw matches CWE‑416 and CWE‑362.

Affected Systems

The vulnerability affects all installations of FreeRDP before version 3.20.1. It applies to the open‑source Remote Desktop Protocol implementation distributed under the FreeRDP umbrella.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity, and an EPSS score of less than 1% suggests a low probability of exploitation. The flaw is not listed in the CISA KEV catalog. The likely attack vector is inferred from the description and not directly stated. Practical exploitation would likely require an attacker to initiate a carefully timed RDP session that triggers the serial channel race, requiring concurrent access to the client’s thread pool and precise synchronization of removal and read operations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreeRDP to version 3.20.1 or later to apply the fix.
  • If an upgrade is not possible, disable or restrict use of the serial channel on affected clients.
  • Limit RDP connections to trusted hosts, enforce strict authentication, and monitor for anomalous traffic that could indicate race condition attempts.

Generated by OpenCVE AI on April 18, 2026 at 19:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8105-1 FreeRDP vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Freerdp
Freerdp freerdp
Vendors & Products Freerdp
Freerdp freerdp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.20.1, a race in the serial channel IRP thread tracking allows a heap use‑after‑free when one thread removes an entry from serial->IrpThreads while another reads it. This vulnerability is fixed in 3.20.1.
Title FreeRDP has a heap-use-after-free in create_irp_thread
Weaknesses CWE-362
CWE-416
References
Metrics cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-416

    Use After Free

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 26, 2026, 3:04 PM
Reserved
Jan 12, 2026, 4:20 PM
Status
Analyzed
Published
Jan 14, 2026, 6:16 PM
Modified
Jun 17, 2026, 10:20 AM
Severity
Moderate
Public date
Jan 14, 2026, 5:53 PM