CVE-2026-31897: freerdp Out-of-bounds Read
Vulnerability summary
CVE-2026-31897 is a critical (CVSS 9.1) Out-of-bounds Read vulnerability in freerdp. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.7% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 13-03-2026PublishedVulnerability first disclosed.
- 13-03-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA0.0UnknownCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
+0.16 pp
From 0.29% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundFreerdp
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Ubuntu3 products
- freerdpAll versions (No fix recorded)
- freerdp2All versions (No fix recorded)
- freerdp3< 3.30.0+dfsg-0ubuntu0.24.04.1 | All versions (No fix recorded)
Debian2 products
- freerdp2All versions (No fix recorded)
- freerdp3< 3.15.0+dfsg-2.1+deb13u2 | < 3.24.0+dfsg-1
Freerdp1 product
- freerdp< 3.24.0
3 vendors · 6 products
References
6 links- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-xgv6-r22m-7c9xX Refsource CONFIRMREPORTExploitPatchVendor Advisory
- github.com/FreeRDP/FreeRDP/commit/cd27c8faca0eeb0d4309cc5837dfdf3c42eba4e7X Refsource MISCREPORTPatch