# CVE-2026-55194: FreeRDPHeap-buffer-overflow write in TS Gateway RPC RESPONSE reassembly due to alloc\_hint capacity mismatch

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.27.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-19 · Modified: 2026-08-27
- Aliases: UBUNTU-CVE-2026-55194, DEBIAN-CVE-2026-55194, ALPINE-CVE-2026-55194
- Record: https://cvemate.com/vulnerability/CVE-2026-55194 · JSON: https://cvemate.com/vulnerability/CVE-2026-55194/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.619%, percentile 51.109%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine freerdp (Alpine Linux): \< 3.27.1-r0
- debian freerdp2 (Debian): All versions (No fix recorded)
- debian freerdp3 (Debian): All versions (No fix recorded) \| \< 3.27.0+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp3 (Ubuntu): \< 3.30.0+dfsg-0ubuntu0.24.04.1 \| All versions (No fix recorded) \| \< 3.30.0+dfsg-0ubuntu0.26.04.1
- freerdp freerdp: \< 3.27.0

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9gxm-3mf5-f5cx>
- <https://github.com/FreeRDP/FreeRDP/pull/12873>
- <https://github.com/FreeRDP/FreeRDP/commit/9f2da52c2341cc14a96ad12e69c5b83d0bcd8b5a>
- <https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0>
- <https://ubuntu.com/security/CVE-2026-55194>
- <https://www.cve.org/CVERecord?id=CVE-2026-55194>
- <https://ubuntu.com/security/notices/USN-8561-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-55194>
- <https://security.alpinelinux.org/vuln/CVE-2026-55194>

---

Data as of 2026-12-05T07:09:27.041Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
