CVE-2026-33987 PUBLISHED

FreeRDP: Persistent Cache bmpSize Desync - Heap OOB Write

Assigner: GitHub_M
Reserved: 24.03.2026 Published: 30.03.2026 Updated: 31.03.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS Score: 7.1

Product Status

Vendor FreeRDP
Product FreeRDP
Versions
  • Version < 3.24.2 is affected

References

Problem Types

  • CWE-122: Heap-based Buffer Overflow CWE
  • CWE-131: Incorrect Calculation of Buffer Size CWE