cve.bz

CVE-2026-121955 freerdp freerdp: Use After Free

8.7 highExploit referenceEPSS 0.3%

High (8.7) in freerdp freerdp. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.7 high
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

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS
0.3% (unchanged from 0.3% a week ago) estimated probability of exploitation activity in the next 30 days; 28th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-11-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-121955 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-121955?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-121955?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-121955 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FreeRDPbefore 3.32.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12freerdp2no fix listedDEBIAN-CVE-2026-121955
Debian13freerdp3no fix listedDEBIAN-CVE-2026-121955
Debian14freerdp33.32.2+dfsg-1DEBIAN-CVE-2026-121955
Ubuntu16.04:LTS, 18.04:LTSfreerdpno fix listedUBUNTU-CVE-2026-121955
Red Hatenterprise_linux:10.2freerdp, libwinpr, freerdp-libs and 8 more2:3.32.2-1.el10_2RHSA-2026:94514
Red Hatenterprise_linux:10.3freerdp, libwinpr, freerdp-libs and 8 more2:3.32.2-1.el10_3RHSA-2026:98598
AlmaLinux10freerdp, libwinpr, freerdp-libs and 3 more2:3.32.2-1.el10_2ALSA-2026:94514
AlmaLinux10freerdp, libwinpr, freerdp-libs and 3 more2:3.32.2-1.el10_3ALSA-2026:98598
Rocky Linux10freerdp, libwinpr, freerdp-libs and 8 more2:3.32.2-1.el10_2RLSA-2026:98598

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity because an untrusted RDP server can remotely cause application crashes or heap corruption without requiring elevated privileges. The flaw affects client sessions where smartcard device redirection and emulation are actively configured, which is not engaged during standard RDP connections. In typical environments where smartcard forwarding is unused, client systems remain unaffected by this issue.

Red Hat's mitigation

Do not enable smartcard redirection when establishing FreeRDP sessions.

Ensure client connection profiles and command-line invocations omit the `/smartcard` parameter (for example, launch connections using `xfreerdp /v:<server_address>` without the `/smartcard` switch). In graphical connection managers or RDP configuration files, disable smartcard forwarding. Additionally, only establish RDP sessions to trusted endpoints.

Caveats: Omitting smartcard redirection prevents the use of smartcard hardware tokens and smartcard-based authentication within the remote session.

--- CME Mitigation Guidance (2026-11-06) ---

Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to cancel and join the background worker thread prior to freeing the emulated SCardContext in FreeRDP smartcard emulation: upgrade to FreeRDP 3.32.2+ (or the fixed Freerdp builds), which cancel and join the background worker thread before freeing the emulated SCardContext in Emulate_SCardReleaseContext, closing crafted sequence of smartcard IRPs containing ESTABLISHCONTEXT, long-timeout GETSTATUSCHANGE, and RELEASECONTEXT. Until patched, this is a concern on FreeRDP client sessions with smartcard redirection and smartcard emulation enabled, so Omit the /smartcard parameter from connection profiles and command-line invocations, disable smartcard forwarding in connection managers, and only establish RDP sessions to trusted endpoints. These controls limit blast radius and contain exploitation, but they do not fix the underlying use-after-free defect — apply the upstream patch to fully remediate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10freerdpAffected
Red Hat Enterprise Linux 6freerdpNot affected
Red Hat Enterprise Linux 7freerdpAffected
Red Hat Enterprise Linux 8freerdpAffected
Red Hat Enterprise Linux 9freerdpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-121955.

References

Check your stackJSON