VDB

CVE-2026-31897

CVE-2026-31897 PUBLISHED

FreeRDP has an out-of-bounds read in `freerdp_bitmap_decompress_planar`

Reported by github_m · Published March 13, 2026

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

VendorProductVersions
FreeRDPFreeRDP< 3.24.0
amazon:2freerdp-libs0
amazon:2023freerdp-devel0
amazon:2023freerdp-libs0
amazon:2freerdp-devel0
FreeRDPFreeRDP0
amazon:2023libwinpr-devel0
amazon:2023freerdp0
alpinefreerdp0
amazon:2libwinpr-devel0
amazon:2freerdp0
amazon:2libwinpr0
amazon:2023freerdp-server0
amazon:2023libwinpr0

Timeline

  • Mar 12, 2026 CVE Published
  • Mar 14, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Apr 2, 2026 Security Advisory (31 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch (28 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31897
vulnetix vdb fixes CVE-2026-31897

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31897/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›