Memory leak in LodePNG and FreeRDP - CVE-2019-17178

 

Memory leak in LodePNG and FreeRDP - CVE-2019-17178

Published: December 2, 2019 / Updated: May 8, 2020


Vulnerability identifier: #VU23151
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-17178
CWE-ID: CWE-401
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due memory leak in "HuffmanTree_makeFromFrequencies" in "lodepng.c" in LodePNG, as used in WinPR in FreeRDP because a supplied realloc pointer (i.e., the first argument to realloc) is also used for a realloc return value. A remote attacker can cause a denial of service condition on the target system.


Affected software

LodePNG
FreeRDP
Opensuse

How to mitigate CVE-2019-17178

Install update from vendor's website.

FreeRDP - update to 2.1.0

External References

Related Security Bulletins