CVE-2026-55193
JSON

8.7high

FreeRDP: Heap-buffer-overflow write in TS Gateway RPC fragment receive due to uncapped bind_ack max_xmit_frag

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, FreeRDP clients using TS Gateway accept a server-controlled max_xmit_frag value in libfreerdp/core/gateway/rpc_bind.c without bounding it to the 4088-byte ReceiveFragment allocation. A malicious gateway can advertise 65535 and then send a response fragment of the same length, causing rpc_channel_read in libfreerdp/core/gateway/rpc.c to write up to 65535 bytes into the smaller ReceiveFragment buffer. This can crash the client and may permit code execution through attacker-controlled heap corruption. This issue is fixed in version 3.27.0.

Affected

Product or packageVersionsReported by
FreeRDP FreeRDP< 3.27.0, before 3.27.0CVE List, NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-122

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, FreeRDP clients using TS Gateway accept a server-controlled max_xmit_frag value in libfreerdp/core/gateway/rpc_bind.c without bounding it to the 4088-byte ReceiveFragment allocation. A malicious gateway can advertise 65535 and then send a response fragment of the same length, causing rpc_channel_read in libfreerdp/core/gateway/rpc.c to write up to 65535 bytes into the smaller ReceiveFragment buffer. This can crash the client and may permit code execution through attacker-controlled heap corruption. This issue is fixed in version 3.27.0.

NVD (es)

FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la 3.27.0, los clientes de FreeRDP que utilizan TS Gateway aceptan un valor max_xmit_frag controlado por el servidor en libfreerdp/core/gateway/rpc_bind.c sin limitarlo a la asignación ReceiveFragment de 4088 bytes. Una puerta de enlace maliciosa puede anunciar 65535 y luego enviar un fragmento de respuesta de la misma longitud, lo que provoca que rpc_channel_read en libfreerdp/core/gateway/rpc.c escriba hasta 65535 bytes en el búfer ReceiveFragment más pequeño. Esto puede bloquear al cliente y puede permitir la ejecución de código a través de la corrupción de la pila controlada por el atacante. Este problema se ha solucionado en la versión 3.27.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-55193 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-55193 changed 2026-10-26Public domain