CVE-2019-17178

high

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.

References

https://github.com/FreeRDP/FreeRDP/issues/5645

http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00004.html

http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00005.html

https://github.com/FreeRDP/FreeRDP/commit/9fee4ae076b1ec97b97efb79ece08d1dab4df29a

Details

Source: MITRE

Published: 2019-10-04

Updated: 2021-07-21

Type: CWE-772

Risk Information

CVSS v2

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3

Base Score: 7.5

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

Impact Score: 3.6

Exploitability Score: 3.9

Severity: HIGH