All reports
Medium

freerdp: FreeRDP: Denial of Service via excessive memory allocation in serial device redirection

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-121405

Probability of exploitation in the next 30 days: 0.29%

FIRST EPSS · 2026-11-19

Description

FreeRDP before 3.32.2 fails to cap the OutputBufferLength in serial device-control IRP requests, allowing malicious servers to trigger excessive memory allocation. Attackers running a server with serial redirection can send an IRP_MJ_DEVICE_CONTROL request with IOCTL_USBPRINT_GET_1284_ID and a near-maximum length to exhaust client memory.

A flaw was found in FreeRDP. When serial device redirection is enabled, a malicious Remote Desktop Protocol (RDP) server can send a crafted serial device-control request specifying an excessively large output buffer length. Because FreeRDP fails to limit this buffer length before allocating memory, this issue allows the server to trigger excessive memory consumption, resulting in a Denial of Service (DoS) due to client memory exhaustion or crash.