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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-19T17:50:30.158Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: < 3.27.0; before 3.27.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9gxm-3mf5-f5cx> (exploit, mitigation, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/pull/12873> (issue-tracking, patch)
- <https://github.com/FreeRDP/FreeRDP/commit/9f2da52c2341cc14a96ad12e69c5b83d0bcd8b5a> (patch)
- <https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0> (release-notes)

## Sources

- CVE List: [CVE-2026-55194](https://www.cve.org/CVERecord?id=CVE-2026-55194), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-55194](https://nvd.nist.gov/vuln/detail/CVE-2026-55194), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-55194 · Whole record: https://cve.day/CVE-2026-55194.json · Rebuilt by cve.day 2026-11-25T22:59:33.990Z
