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.
Problem types
CWE-131: Incorrect Calculation of Buffer Size
Product status
References
github.com/...reeRDP/security/advisories/GHSA-c495-h83v-3prp
github.com/...reeRDP/security/advisories/GHSA-c495-h83v-3prp
github.com/FreeRDP/FreeRDP/pull/12899
github.com/...ommit/e58adf922ea4c0d5495e59a1fe488d70092e0e3e
github.com/FreeRDP/FreeRDP/releases/tag/3.27.1