Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim client connects to malicious RDP server with /smartcard
-
DeliveryServer announces SCARD smartcard device
-
ExploitSend SCARD_IOCTL_LISTREADERSW IOCTL with odd cBytes
-
ExecutionDecoded wide-string buffer lacks aligned NUL
-
PersistClient over-reads past heap allocation
-
ImpactClient process crashes (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a specific, non-default client deployment: the FreeRDP client must be started with the /smartcard channel enabled, and the victim must connect to an attacker-controlled or compromised RDP server that completes the RDP handshake and announces an SCARD device. The trigger is a server-sent IRP_MJ_DEVICE_CONTROL request with IoControlCode SCARD_IOCTL_LISTREADERSW (0x0009002C) whose mszGroups cBytes is odd and whose NDR pointer is non-NULL with a non-zero final byte (cBytes=2 terminates normally and is the control case). Limiting factors: the smartcard channel is not enabled by default; the attack is inbound only to clients that initiate a connection to the malicious server (no exposure for servers or for clients not using /smartcard); impact is confined to a client crash with no code execution and no data returned to the attacker; the unbounded scan behavior is tied to the non-Windows _wcslen/wcslen path. |
| Impact | This is a client-side denial-of-service flaw, not a high-priority exploitation target. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N) scores 6.9 (Medium) and is attacker-reachable over the network with low complexity, but the real-world risk is bounded by the attack model: a MALICIOUS or compromised RDP server must drive a FreeRDP CLIENT that was explicitly started with /smartcard - this is a server-attacks-client vulnerability, not a server-side exposure. No EPSS score and no KEV listing were supplied, and the product is not in CISA KEV, so there is no evidence of active exploitation. A detailed public PoC reference exists in the GHSA advisory (build script, peer hook, and Valgrind traces), raising the floor for a working trigger, but it demonstrates only an out-of-bounds READ that crashes the client - the advisory is explicit that the over-read bytes are consumed locally as a reader-name filter and are NOT returned to the peer, so there is no direct information disclosure. Note a signal conflict worth flagging: the supplied CVSS 4.0 rates confidentiality VC:L, yet the vendor advisory states there is no information-disclosure gain and the practical impact is availability (crash) only - treat the confidentiality rating as overstated relative to the vendor's own analysis. The vuln.today decision label is 'this_month,' consistent with a patch-on-normal-cadence Medium issue rather than an emergency. |
| Exploit ScenarioDerived | An attacker stands up a malicious RDP server (or compromises one a victim will reach) and waits for a FreeRDP client launched with the /smartcard flag to connect and complete the handshake. The server announces an SCARD device and sends a crafted IRP_MJ_DEVICE_CONTROL request with IoControlCode SCARD_IOCTL_LISTREADERSW carrying an odd cBytes value, so the decoded mszGroups wide-string buffer lacks an aligned NUL terminator and the client over-reads the heap until it hits a zero WCHAR or an unmapped page, crashing the process. A public PoC reference exists (GHSA advisory with build script and Valgrind output); it is a demonstrated crash trigger rather than a packaged weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Out-of-bounds read in the FreeRDP client smartcard channel affects versions up to and including 3.32.2 and is fixed in 3.33.0. A malicious or compromised RDP server that completes the handshake and announces an SCARD device can send an IRP_MJ_DEVICE_CONTROL request for SCARD_IOCTL_LISTREADERSW (0x0009002C) with an odd mszGroups cBytes value, so the decoded buffer never receives a two-byte-aligned NUL terminator and the later wide-string scan steps past the heap allocation and can crash the client. Exposure is limited to clients launched with the non-default /smartcard channel that connect outbound to the attacker's server; the reviewed sources show only a client crash, no code execution and no data returned to the peer, and there is no CISA KEV entry, although a public proof-of-concept (a malicious RDP server plus a valgrind trace against the vulnerable build) is documented in the upstream advisory GHSA-r664-f94r-rgg6.
RemediationAI
Vendor-released patch: upgrade FreeRDP to 3.33.0 or later, which is the first version that rejects the malformed odd cBytes LISTREADERSW request; the fix, affected-range confirmation and PoC details are in the upstream advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-r664-f94r-rgg6, with a parallel write-up at https://www.vulncheck.com/advisories/freerdp-before-3.33.0-out-of-bounds-read-via-scard-ioctl-listreadersw. When upgrading cannot be done immediately, the effective compensating control is to stop launching the client with the /smartcard channel, since the primitive is unreachable when the channel is not enabled; the trade-off is that smartcard redirection into RDP sessions stops working for those users. Because the attack is inbound only, restricting which RDP servers users may connect to (and treating unknown or attacker-supplied servers as untrusted) also limits exposure, at the cost of blocking legitimate connections to external hosts; there is no indication that server-side deployments require action.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The bug sits in FreeRDP's NDR decoders for the smartcard (RDPDR) virtual channel, a CWE-125 out-of-bounds read. In libfreerdp/utils/smartcard_pack.c:2345, smartcard_unpack_list_readers_call reads mszGroups through smartcard_ndr_read(..., cBytes, 1, NDR_PTR_SIMPLE) with an element size of 1, so the wire-supplied cBytes is accepted without a parity check and the A and W call variants share this element size (the un flag only affects tracing). smartcard_ndr_read_ex (smartcard_pack.c:203-212) allocates calloc(len * elementSize + sizeof(WCHAR)) and appends only two zero bytes, so when the total length is odd the terminator is not on a WCHAR boundary and the allocation contains no aligned NUL. The buffer is passed unchanged to the local backend: smartcard_call.c:429-432 hands call->mszGroups to SCardListReadersW, winpr/libwinpr/smartcard/smartcard_pcsc.c:1057-1063 runs it through ConvertWCharToUtf8Alloc without first confirming termination, and winpr/libwinpr/crt/unicode.c:379 takes the length with _wcslen, which on non-Windows resolves to unbounded wcslen (winpr/libwinpr/crt/string.c:400) advancing in 2-byte strides until a zero WCHAR or an unmapped page. The data flow runs from rdpdr_process_irp (channels/rdpdr/client/rdpdr_main.c:1576-1609) into channels/smartcard/client/smartcard_main.c:372-398 and smartcard_operations.c:618-620. The affected CPE is cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*; a request with cBytes=2 terminates normally and serves as the control case.
Know when Freerdp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
A malicious server attacks a client that must connect to it with /smartcard (UI:R), with no server-side auth (PR:N); impact is a crash only, so A:L and C:N/I:N despite the out-of-bounds read.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
FreeRDP before 3.33.0 contains an out-of-bounds read in the client smartcard channel because SCARD_IOCTL_LISTREADERSW decoding accepts an odd cBytes value, leaving the mszGroups wide-string buffer without an aligned NUL terminator. A malicious RDP server can send a crafted IRP_MJ_DEVICE_CONTROL request causing the client to read beyond a heap allocation, potentially crashing it.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti
Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor
Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem
FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi
FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai
FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and
FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
EUVD-2026-136620
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB