What’s Vulnerable › Vulnerabilities
CVE-2026-31897: FreeRDP has an out-of-bounds read in `freerdp_bitmap_decompress_planar`
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-13 · updated 2026-06-17
- Weakness: CWE-125
Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, there is an out-of-bounds read in freerdp_bitmap_decompress_planar when SrcSize is 0. The function dereferences *srcp (which points to pSrcData) without first verifying that SrcSize >= 1. When SrcSize is 0 and pSrcData is non-NULL, this reads one byte past the end of the source buffer. This vulnerability is fixed in 3.24.0.
Affected products
- FreeRDP: before 3.24.0 — fixed in 3.24.0
How to fix
Upgrade to a fixed version: FreeRDP 3.24.0. Check the vendor advisory for mitigations.
References
- https://github.com/FreeRDP/FreeRDP/commit/cd27c8faca0eeb0d4309cc5837dfdf3c42eba4e7
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-xgv6-r22m-7c9x
Get alerted when CVE-2026-31897 or the next vulnerability affects your stack