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.
Published: 2026-08-19
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists when a FreeRDP client processes responses from a TS Gateway. The rpc_client_recv_fragment function calculates the buffer capacity for reassembly using only the server‑declared alloc_hint instead of the actual StubLength. A malicious gateway can send a PTYPE_RESPONSE with a small alloc_hint and a larger frag_length, causing the Stream_Write operation to copy attacker‑controlled stub data past the 4096‑byte pdu->s buffer, corrupting heap memory. This overflow can crash the client or even enable remote code execution. The flaw is identified as a heap‑buffer overflow (CWE‑122) and a buffer copy without length or boundary check (CWE‑120).

Affected Systems

All FreeRDP releases prior to version 3.27.0 are affected. The patch is included in release 3.27.0, so any builds at or above that version are not affected.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. The EPSS score of < 1% indicates a very low probability of exploitation but still present. The vulnerability is globally relevant because RDP is widely deployed. The issue is not listed in CISA’s KEV catalog, implying no identified active exploitation yet. The likely attack vector is a remote attacker using a malicious TS Gateway to send crafted PTYPE_RESPONSE packets to a FreeRDP client, which, if exploited, can result in a client crash or arbitrary code execution.

Generated by OpenCVE AI on August 21, 2026 at 02:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the FreeRDP client to version 3.27.0 or newer to apply the heap buffer overflow fix.
  • Restrict the client to connect only to trusted TS Gateway servers and monitor for abnormal response sizes.
  • Disable or remove the TS Gateway functionality from the client environment where it is not required to eliminate the vulnerable code path.

Generated by OpenCVE AI on August 21, 2026 at 02:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8561-1 FreeRDP vulnerabilities
History

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important


Wed, 19 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Freerdp
Freerdp freerdp
Vendors & Products Freerdp
Freerdp freerdp

Wed, 19 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title FreeRDPHeap-buffer-overflow write in TS Gateway RPC RESPONSE reassembly due to alloc_hint capacity mismatch
Weaknesses CWE-122
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-27T16:25:00.719Z

Reserved: 2026-06-16T15:20:43.087Z

Link: CVE-2026-55194

cve-icon Vulnrichment

Updated: 2026-08-27T16:17:48.538Z

cve-icon NVD

Status : Received

Published: 2026-08-19T18:16:44.857

Modified: 2026-08-27T17:18:48.447

Link: CVE-2026-55194

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-19T17:50:30Z

Links: CVE-2026-55194 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T03:00:04Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow