CVE-2026-31897

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.
CVSS

No CVSS.

Configurations

Configuration 1 (hide)

cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*

History

17 Mar 2026, 12:57

Type Values Removed Values Added
First Time Freerdp
Freerdp freerdp
CPE cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
References () https://github.com/FreeRDP/FreeRDP/commit/cd27c8faca0eeb0d4309cc5837dfdf3c42eba4e7 - () https://github.com/FreeRDP/FreeRDP/commit/cd27c8faca0eeb0d4309cc5837dfdf3c42eba4e7 - Patch
References () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-xgv6-r22m-7c9x - () https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-xgv6-r22m-7c9x - Exploit, Patch, Vendor Advisory

13 Mar 2026, 19:54

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-13 19:54

Updated : 2026-03-17 12:57


NVD link : CVE-2026-31897

Mitre link : CVE-2026-31897

CVE.ORG link : CVE-2026-31897


JSON object : View

Products Affected

freerdp

  • freerdp
CWE
CWE-125

Out-of-bounds Read