Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.1, FreeRDP clients launched with the non-default /cache:codec:rfx option pass desktop stride and height to RemoteFX decoding for Cache Bitmap V3 data while allocating bitmap->data only for the smaller DstWidth and DstHeight in gdi_Bitmap_Decompress, allowing a malicious RDP server to trigger a heap out-of-bounds write with attacker-controlled offset and content. This issue is fixed in version 3.27.1.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-131 — CWE-131: Incorrect Calculation of Buffer Size
- CWE-787 — CWE-787: Out-of-bounds Write
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 3.27.1 |
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-c495-h83v-3prp (x_refsource_CONFIRM)
- https://github.com/FreeRDP/FreeRDP/pull/12899 (x_refsource_MISC)
- https://github.com/FreeRDP/FreeRDP/commit/e58adf922ea4c0d5495e59a1fe488d70092e0e3e (x_refsource_MISC)
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.1 (x_refsource_MISC)
Generated from the official CVE List on 11 Jul 2026 07:02 UTC.