Skip to main content

FreeRDP CVE-2026-137454

| EUVDEUVD-2026-136620 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-26 VulnCheck
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim client connects to malicious RDP server with /smartcard
  2. Delivery
    Server announces SCARD smartcard device
  3. Exploit
    Send SCARD_IOCTL_LISTREADERSW IOCTL with odd cBytes
  4. Execution
    Decoded wide-string buffer lacks aligned NUL
  5. Persist
    Client over-reads past heap allocation
  6. Impact
    Client 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FreeRDP 0 <3.33.0

Affected Packages

euvd freerdp fix: 3.33.0

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 16:01 cve.org
MEDIUM 6.9

DescriptionCVE.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

EPSS Score
0.4%
Top 78% exploitable
Prevalence
High
leading open-source RDP client embedded in many remote-desktop tools (Remmina, Guacamole, GNOME Boxes)
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-25997 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth

CVE-2026-25953 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti

CVE-2026-25952 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor

CVE-2026-25959 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem

CVE-2026-22857 CRITICAL POC
9.8 Jan 14

FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi

CVE-2026-22854 CRITICAL POC
9.8 Jan 14

FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai

CVE-2026-22852 CRITICAL POC
9.8 Jan 14

FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m

CVE-2026-25955 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and

CVE-2024-32041 CRITICAL POC
9.8 Apr 22

FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2023-40574 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40569 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40567 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy