Memory Leak in HuffmanTree_makeFromFrequencies Function in LodePNG

Memory Leak in HuffmanTree_makeFromFrequencies Function in LodePNG

CVE-2019-17178 · HIGH Severity

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

HuffmanTree_makeFromFrequencies in lodepng.c in LodePNG through 2019-09-28, as used in WinPR in FreeRDP and other products, has a memory leak because a supplied realloc pointer (i.e., the first argument to realloc) is also used for a realloc return value.

Learn more about our Web Application Penetration Testing UK.