# CVE-2026-31897: FreeRDP has an out-of-bounds read in \`freerdp\_bitmap\_decompress\_planar\`

- Priority: **Routine**
- Reason: Not severe (CVSS 0, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-13 · Modified: 2026-03-13
- Aliases: UBUNTU-CVE-2026-31897, DEBIAN-CVE-2026-31897, ALPINE-CVE-2026-31897
- Record: https://cvemate.com/vulnerability/CVE-2026-31897 · JSON: https://cvemate.com/vulnerability/CVE-2026-31897/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.339%, percentile 29.317%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine freerdp (Alpine Linux): \< 3.24.0-r0
- debian freerdp2 (Debian): All versions (No fix recorded)
- debian freerdp3 (Debian): \< 3.15.0+dfsg-2.1+deb13u2 \| \< 3.24.0+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp3 (Ubuntu): \< 3.30.0+dfsg-0ubuntu0.24.04.1 \| All versions (No fix recorded)
- freerdp freerdp: \< 3.24.0

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-xgv6-r22m-7c9x>
- <https://github.com/FreeRDP/FreeRDP/commit/cd27c8faca0eeb0d4309cc5837dfdf3c42eba4e7>
- <https://ubuntu.com/security/CVE-2026-31897>
- <https://www.cve.org/CVERecord?id=CVE-2026-31897>
- <https://ubuntu.com/security/notices/USN-8561-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-31897>
- <https://security.alpinelinux.org/vuln/CVE-2026-31897>

---

Data as of 2026-12-05T07:09:25.950Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
