Description
FreeRDP before 3.22.0 contains a use-after-free vulnerability in dvcman_channel_close and dvcman_call_on_receive due to improper synchronization of channel_callback access. A malicious RDP server can trigger a race condition by sending DYNVC_DATA and DYNVC_CLOSE messages concurrently, causing heap-use-after-free in the drdynvc client thread and potentially enabling remote code execution or denial of service.
Published: 2026-07-08
Score: 8.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

FreeRDP creates a use‑after‑free condition when a channel callback is accessed concurrently in the dvcman_channel_close and dvcman_call_on_receive functions. A malicious RDP server can trigger a race by sending DYNVC_DATA and DYNVC_CLOSE messages at the same timefree in the drdynvc client thread. The flaw is a classic concurrency flaw (CWE‑362) and can potentially allow an attacker to execute arbitrary code on the client or cause a denial of service.

Affected Systems

All FreeRDP deployments running a version earlier than 3.22.0 are affected. The issue is present in any installation that enables dynamic virtual channels (DYNVC) and does not perform proper synchronization on channel callbacks. This includes typical RDP client setups that rely on FreeRDP libraries for remote desktop connections.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.3, indicating a high severity risk. The EPSS score is less than 1%, indicating a very low but non-zero exploitation probability, and the issue is not listed in CISA’s KEV catalog. The likely attack vector is a remote client connecting to a malicious RDP server that intentionally spawns the race condition, which could lead to remote code execution or service disruption on the client machine.

Generated by OpenCVE AI on July 26, 2026 at 17:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade FreeRDP to version 3.22.0 or later to include the concurrency fix
  • If an upgrade is not immediately possible, disable or restrict the use of dynamic virtual channels (DYNVC) on the client and server sides
  • Apply network segmentation and firewall rules to limit RDP traffic to known, trusted servers and monitor for anomalous channel activity

Generated by OpenCVE AI on July 26, 2026 at 17:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-364
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 08 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 08 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Description FreeRDP before 3.22.0 contains a use-after-free vulnerability in dvcman_channel_close and dvcman_call_on_receive due to improper synchronization of channel_callback access. A malicious RDP server can trigger a race condition by sending DYNVC_DATA and DYNVC_CLOSE messages concurrently, causing heap-use-after-free in the drdynvc client thread and potentially enabling remote code execution or denial of service.
Title FreeRDP - Use-After-Free via Race Condition in DRDYNVC Channel Callback
First Time appeared Freerdp
Freerdp freerdp
Weaknesses CWE-362
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Vendors & Products Freerdp
Freerdp freerdp
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-08T14:23:00.749Z

Reserved: 2026-06-20T12:49:17.829Z

Link: CVE-2026-56297

cve-icon Vulnrichment

Updated: 2026-07-08T14:22:51.069Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-08T13:49:01Z

Links: CVE-2026-56297 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:00:05Z

Weaknesses
  • CWE-362

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

  • CWE-364

    Signal Handler Race Condition