Description
FreeRDP before 3.32.2 contains a use-after-free vulnerability in Emulate_SCardReleaseContext that frees the emulated SCardContext before its worker thread is cancelled and joined. A malicious server can send ESTABLISHCONTEXT, a long-timeout GETSTATUSCHANGE, then RELEASECONTEXT smartcard IRPs to corrupt heap memory or crash clients using smartcard emulation.
Published: 2026-11-04
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Use-After-Free memory corruption
Action: Immediate Patch
AI Analysis

Impact

FreeRDP versions before 3.32.2 contain a use-after-free flaw in the Smartcard Emulation implementation. The bug occurs in the Emulate_SCardReleaseContext routine, which frees the emulated SCardContext before its worker thread is cancelled and joined. A malicious RDP server can therefore send a sequence of smart card IRPs—ESTABLISHCONTEXT, a long-timeout GETSTATUSCHANGE, and then RELEASECONTEXT—to corrupt heap memory or crash the client application.

Affected Systems

The vulnerability affects the FreeRDP client, specifically all releases earlier than 3.32.2. Users running those versions of the FreeRDP software are exposed to the described memory corruption risks.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity impact. Although the EPSS score is not available and the vulnerability is not listed in CISA's KEV catalog, the attack requires a malicious RDP server and the ability to communicate with a FreeRDP client. When the attacker can drive the client to execute the described sequence of smart card requests, the use-after-free can lead to arbitrary memory corruption and potentially remote code execution. Given the high CVSS and the remote attack surface, the risk to affected clients is substantial.

Generated by OpenCVE AI on November 4, 2026 at 16:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FreeRDP 3.32.2 or newer, which contains a fix for the use-after-free in Smartcard emulation.
  • If upgrading is not immediately possible, disable Smartcard emulation on the client by adjusting the configuration or using service settings to prevent the Emulate_SCardReleaseContext logic from executing.
  • Conduct a review of the RDP server environment and enforce strict authentication to ensure only trusted servers can issue smart card requests.

Generated by OpenCVE AI on November 4, 2026 at 16:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Nov 2026 15:45:00 +0000

Type Values Removed Values Added
Description FreeRDP before 3.32.2 contains a use-after-free vulnerability in Emulate_SCardReleaseContext that frees the emulated SCardContext before its worker thread is cancelled and joined. A malicious server can send ESTABLISHCONTEXT, a long-timeout GETSTATUSCHANGE, then RELEASECONTEXT smartcard IRPs to corrupt heap memory or crash clients using smartcard emulation.
Title FreeRDP before 3.32.2 Use-After-Free in Smartcard Emulation ReleaseContext
First Time appeared Freerdp
Freerdp freerdp
Weaknesses CWE-416
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Vendors & Products Freerdp
Freerdp freerdp
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-04T15:33:20.216Z

Reserved: 2026-11-04T12:46:55.474Z

Link: CVE-2026-121955

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-04T16:17:48.070

Modified: 2026-11-04T16:17:48.200

Link: CVE-2026-121955

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T17:00:18Z

Weaknesses