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.
Problem types
CWE-122: Heap-based Buffer Overflow
CWE-131: Incorrect Calculation of Buffer Size
Product status
References
github.com/...reeRDP/security/advisories/GHSA-ff8h-p5vc-wcwc
github.com/...ommit/1a890eb43492b5eb707cb3dd6fc908f696e8fc1c