CVE-2026-55194

Critical

Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, rpc_client_recv_fragment in libfreerdp/core/gateway/rpc_client.c ensures the response reassembly stream capacity using only the server-declared alloc_hint rather than the actual StubLength about to be written. A malicious TS Gateway can send a PTYPE_RESPONSE with a small alloc_hint and a much larger frag_length, causing Stream_Write to copy attacker-controlled stub data beyond the 4096-byte pdu->s buffer. This can crash the client and may permit code execution through heap corruption. This issue is fixed in version 3.27.0.

SeverityCritical
CVSS9.8
Exploit probability—
ProductFreerdp
PublishedAug 19, 2026
First seenAug 19, 2026
Weakness typeCWE-122CWE-122

How to fix

Update
  • freerdp freerdp3.27.0 or later

Affected products

ProductAffected versionsFixed in
freerdp freerdpv < 3.27.03.27.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.