Vulnerability · Published Mar 13, 2026 · Assigned by GitHub_M
CVE-2026-31897FreeRDP has an out-of-bounds read in `freerdp_bitmap_decompress_planar`
None 0.0
In plain English
A out-of-bounds read 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.3% (higher than 23% 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.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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | freerdp | 3.24.0-r0 | ALPINE-CVE-2026-31897 |
| Alpine:v3.24 | freerdp | 3.24.0-r0 | ALPINE-CVE-2026-31897 |
| Debian:12 | freerdp2 | no fix listed | DEBIAN-CVE-2026-31897 |
| Debian:13 | freerdp3 | 3.15.0+dfsg-2.1+deb13u2 | DEBIAN-CVE-2026-31897 |
| Debian:14 | freerdp3 | 3.24.0+dfsg-1 | DEBIAN-CVE-2026-31897 |
| Ubuntu:22.04:LTS | freerdp2 | no fix listed | UBUNTU-CVE-2026-31897 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | USN-8561-1 |
| Ubuntu:24.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-31897 |
| Ubuntu:25.10 | freerdp3 | no fix listed | UBUNTU-CVE-2026-31897 |
| Ubuntu:26.04:LTS | freerdp3 | 3.30.0+dfsg-0ubuntu0.26.04.1 | USN-8561-1 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:N