CVE-2026-33987

FreeRDP: Persistent Cache bmpSize Desync - Heap OOB Write

State
Published
Severity
7.1 High
Published
Mar 30, 2026
Updated
Mar 31, 2026
Reserved
Mar 24, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HGitHub_M

Weaknesses

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

Affected Products

ProductVersions
FreeRDPFreeRDP
  • < 3.24.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.