Vulnerability · Published Aug 19, 2026 · Assigned by GitHub_M
CVE-2026-55194FreeRDPHeap-buffer-overflow write in TS Gateway RPC RESPONSE reassembly due to alloc_hint capacity mismatch
High 8.7
In plain English
A high-severity heap buffer overflow in FreeRDP from FreeRDP. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | freerdp | 2:3.10.3-12.el10_2.10 | ALSA-2026:61378 |
| AlmaLinux:8 | freerdp | 2:2.11.7-12.el8_10 | ALSA-2026:62571 |
| AlmaLinux:9 | freerdp | 2:2.11.7-7.el9_8.6 | ALSA-2026:61379 |
| AlmaLinux:10 | freerdp-devel | 2:3.10.3-12.el10_2.10 | ALSA-2026:61378 |
| AlmaLinux:8 | freerdp-devel | 2:2.11.7-12.el8_10 | ALSA-2026:62571 |
| AlmaLinux:9 | freerdp-devel | 2:2.11.7-7.el9_8.6 | ALSA-2026:61379 |
| AlmaLinux:10 | freerdp-libs | 2:3.10.3-12.el10_2.10 | ALSA-2026:61378 |
| AlmaLinux:8 | freerdp-libs | 2:2.11.7-12.el8_10 | ALSA-2026:62571 |
| AlmaLinux:9 | freerdp-libs | 2:2.11.7-7.el9_8.6 | ALSA-2026:61379 |
| AlmaLinux:10 | freerdp-server | 2:3.10.3-12.el10_2.10 | ALSA-2026:61378 |
| AlmaLinux:10 | libwinpr | 2:3.10.3-12.el10_2.10 | ALSA-2026:61378 |
| AlmaLinux:8 | libwinpr | 2:2.11.7-12.el8_10 | ALSA-2026:62571 |
| AlmaLinux:9 | libwinpr | 2:2.11.7-7.el9_8.6 | ALSA-2026:61379 |
| AlmaLinux:10 | libwinpr-devel | 2:3.10.3-12.el10_2.10 | ALSA-2026:61378 |
| AlmaLinux:8 | libwinpr-devel | 2:2.11.7-12.el8_10 | ALSA-2026:62571 |
| AlmaLinux:9 | libwinpr-devel | 2:2.11.7-7.el9_8.6 | ALSA-2026:61379 |
| Alpine:v3.24 | freerdp | 3.27.1-r0 | ALPINE-CVE-2026-55194 |
| Debian:12 | freerdp2 | no fix listed | DEBIAN-CVE-2026-55194 |
| Debian:13 | freerdp3 | no fix listed | DEBIAN-CVE-2026-55194 |
| Debian:14 | freerdp3 | 3.27.0+dfsg-1 | DEBIAN-CVE-2026-55194 |
| Rocky Linux:10 | freerdp | 2:3.10.3-12.el10_2.10 | RLSA-2026:61378 |
| Rocky Linux:8 | freerdp | 2:2.11.7-12.el8_10 | RLSA-2026:62571 |
| Rocky Linux:9 | freerdp | 2:2.11.7-7.el9_8.6 | RLSA-2026:61379 |
| Ubuntu:22.04:LTS | freerdp2 | no fix listed | UBUNTU-CVE-2026-55194 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-55194 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | USN-8561-1 |
| Ubuntu:25.10 | freerdp3 | no fix listed | UBUNTU-CVE-2026-55194 |
| Ubuntu:26.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 | USN-8561-1 |
| Ubuntu:26.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-55194 |
Affected products (as reported)
Weakness: CWE-122 · 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
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9gxm-3mf5-f5cx x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/pull/12873 x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/commit/9f2da52c2341cc14a96ad12e69c5b83d0bcd8b5a x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0 x_refsource_MISC