CVE-2026-137454 in FreeRDPinfo

Summary

by MITRE • 11/26/2026

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.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified in FreeRDP versions prior to 3.33.0 represents a critical memory safety issue within the smartcard channel implementation of the Remote Desktop Protocol client. This flaw is classified as an out-of-bounds read, which falls under CWE-125: Out-of-bounds Read in standard vulnerability taxonomy. The root cause lies in the handling of the SCARD_IOCTL_LISTREADERSW control code during the decoding process. Specifically, the implementation fails to validate whether the cBytes parameter provided by the server is even or odd before proceeding with buffer operations. This lack of parity check leads to a misalignment in how the mszGroups wide-string buffer is processed, resulting in the absence of an aligned null terminator at the expected memory location.

From a technical perspective, when a malicious Remote Desktop Protocol server sends a crafted IRP_MJ_DEVICE_CONTROL request containing this malformed cBytes value, it triggers undefined behavior within the client application. The software attempts to read from the mszGroups buffer assuming standard string termination rules apply. Because the alignment is incorrect due to the odd byte count, the reading operation extends beyond the boundaries of the allocated heap memory. This out-of-bounds access allows an attacker to potentially leak sensitive information stored in adjacent memory regions or cause a denial of service by triggering a segmentation fault that crashes the client application.

The operational impact of this vulnerability is significant for organizations relying on FreeRDP for remote desktop sessions involving smart card authentication. An attacker positioned as a malicious RDP server can exploit this flaw to disrupt user productivity through application crashes, constituting a Denial of Service attack. Furthermore, depending on the specific memory layout and operating system protections in place, such an out-of-bounds read could potentially be leveraged for information disclosure, allowing the extraction of private data from the client's process space. This aligns with ATT&CK technique T1005: Data from Local System, where adversaries seek to collect sensitive information directly from a compromised host through memory reads rather than file system access.

Mitigation strategies primarily involve upgrading FreeRDP to version 3.33.0 or later, where this input validation logic has been corrected to ensure proper alignment and boundary checks for the cBytes parameter. For environments unable to immediately patch, network-level controls such as firewalls can be configured to restrict connections from untrusted RDP servers that do not adhere to standard protocol specifications. Additionally, enabling memory protection features like Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP) on client systems can help mitigate the potential for exploitation by making it more difficult for attackers to predict memory addresses or execute arbitrary code following a crash condition.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00361

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!