Описание
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.
A flaw was found in FreeRDP. A use-after-free vulnerability exists in the smartcard emulation feature where a smartcard context is released before its background worker thread is properly terminated. A malicious server can exploit this by sending a crafted sequence of smartcard I/O Request Packets (IRPs) to a client with smartcard redirection enabled. Successful exploitation can corrupt memory or cause the client application to crash, leading to a Denial of Service (DoS).
Отчет
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.
Меры по смягчению последствий
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.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | freerdp | Not affected | ||
| Red Hat Enterprise Linux 7 | freerdp | Affected | ||
| Red Hat Enterprise Linux 8 | freerdp | Affected | ||
| Red Hat Enterprise Linux 9 | freerdp | Affected | ||
| Red Hat Enterprise Linux 10 | freerdp | Fixed | RHSA-2026:94514 | 03.11.2026 |
| Red Hat Enterprise Linux 10 | freerdp | Fixed | RHSA-2026:98598 | 11.11.2026 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
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.
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.
FreeRDP before 3.32.2 Use-After-Free in Smartcard Emulation ReleaseContext
FreeRDP before 3.32.2 contains a use-after-free vulnerability in Emula ...
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.
EPSS
7.5 High
CVSS3