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…
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.
AI Analysis
Technical Summary
The vulnerability in FreeRDP prior to version 3.22.0 arises from a use-after-free condition caused by improper synchronization when accessing channel_callback in the dvcman_channel_close and dvcman_call_on_receive functions. A malicious RDP server can exploit a race condition by concurrently sending DYNVC_DATA and DYNVC_CLOSE messages, triggering heap-use-after-free in the drdynvc client thread. This flaw potentially enables remote code execution or denial of service on the client side.
Potential Impact
Successful exploitation can lead to heap-use-after-free conditions in the FreeRDP client, which may result in remote code execution or denial of service. The vulnerability is exploitable remotely by a malicious RDP server without requiring user interaction or privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor official Ubuntu and FreeRDP advisories for updates and apply patches once available to address this vulnerability.
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…
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.
CVSS v4.0
Affected software
pkg:deb/ubuntu/[email protected]~git20140921.1.440916e+dfsg1-5ubuntu1.4?arch=source&distro=xenialpkg:deb/ubuntu/[email protected]+dfsg1-0ubuntu0.18.04.4+esm6?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/[email protected]~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.2?arch=source&distro=bionicpkg:deb/ubuntu/[email protected]+dfsg1-0ubuntu0.20.04.2+esm4?arch=source&distro=esm-infra/focalpkg:deb/ubuntu/[email protected]+dfsg1-3ubuntu2.11?arch=source&distro=jammypkg:deb/ubuntu/[email protected]+dfsg1-0ubuntu1.6?arch=source&distro=noblepkg:deb/ubuntu/[email protected]+dfsg1-1ubuntu0.1~esm6?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/[email protected]+dfsg-2ubuntu0.5?arch=source&distro=questingRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in FreeRDP prior to version 3.22.0 arises from a use-after-free condition caused by improper synchronization when accessing channel_callback in the dvcman_channel_close and dvcman_call_on_receive functions. A malicious RDP server can exploit a race condition by concurrently sending DYNVC_DATA and DYNVC_CLOSE messages, triggering heap-use-after-free in the drdynvc client thread. This flaw potentially enables remote code execution or denial of service on the client side.
Potential Impact
Successful exploitation can lead to heap-use-after-free conditions in the FreeRDP client, which may result in remote code execution or denial of service. The vulnerability is exploitable remotely by a malicious RDP server without requiring user interaction or privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor official Ubuntu and FreeRDP advisories for updates and apply patches once available to address this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-56297
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10"]
- Database Specific Severity
- null
- Cvss Version
- 4.0
Threat ID: 6a58b46f68715ace43d83e87
Added to database: 07/16/2026, 10:37:35 UTC
Last enriched: 07/16/2026, 11:47:44 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.