# CVE-2026-33987: FreeRDP: Persistent Cache bmpSize Desync - Heap OOB Write

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

## Description

```text
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in persistent_cache_read_entry_v3() in libfreerdp/cache/persistent.c, persistent->bmpSize is updated before winpr_aligned_recalloc(). If realloc fails, bmpSize is inflated while bmpData points to the old buffer. This issue has been patched in version 3.24.2.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
- EPSS: 0.12%, percentile 2.006%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine freerdp (Alpine Linux): \< 3.24.2-r0
- debian freerdp2 (Debian): All versions (No fix recorded)
- debian freerdp3 (Debian): \< 3.15.0+dfsg-2.1+deb13u2 \| \< 3.24.2+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.2

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-ff8h-p5vc-wcwc>
- <https://github.com/FreeRDP/FreeRDP/commit/1a890eb43492b5eb707cb3dd6fc908f696e8fc1c>
- <https://ubuntu.com/security/CVE-2026-33987>
- <https://www.cve.org/CVERecord?id=CVE-2026-33987>
- <https://ubuntu.com/security/notices/USN-8561-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-33987>
- <https://security.alpinelinux.org/vuln/CVE-2026-33987>

---

Data as of 2026-12-05T07:08:39.674Z. 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
