CVE-2019-17178
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.58%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 2.58% probability · 84th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-252, CWE-401
- Affected
- freerdp/freerdp · lodev/lodepng · opensuse/leap
- Source
- cve@mitre.org
References
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00004.htmlThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00005.htmlThird Party Advisory
- https://github.com/FreeRDP/FreeRDP/commit/9fee4ae076b1ec97b97efb79ece08d1dab4df29aPatch, Vendor Advisory
- https://github.com/FreeRDP/FreeRDP/issues/5645Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00004.htmlThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00005.htmlThird Party Advisory
- https://github.com/FreeRDP/FreeRDP/commit/9fee4ae076b1ec97b97efb79ece08d1dab4df29aPatch, Vendor Advisory
- https://github.com/FreeRDP/FreeRDP/issues/5645Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.