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.

Severity (CVSS 3.1)0.0None
Exploit odds (30 days)0.3%top 76.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.23freerdp3.24.0-r0ALPINE-CVE-2026-31897
Alpine:v3.24freerdp3.24.0-r0ALPINE-CVE-2026-31897
Debian:12freerdp2no fix listedDEBIAN-CVE-2026-31897
Debian:13freerdp33.15.0+dfsg-2.1+deb13u2DEBIAN-CVE-2026-31897
Debian:14freerdp33.24.0+dfsg-1DEBIAN-CVE-2026-31897
Ubuntu:22.04:LTSfreerdp2no fix listedUBUNTU-CVE-2026-31897
Ubuntu:24.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.24.04.1USN-8561-1
Ubuntu:24.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2026-31897
Ubuntu:25.10freerdp3no fix listedUBUNTU-CVE-2026-31897
Ubuntu:26.04:LTSfreerdp33.30.0+dfsg-0ubuntu0.26.04.1USN-8561-1

Affected products (as reported)

VendorProductVersions
FreeRDP FreeRDP < 3.24.0

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:N

References