CVE Vulnerabilities

CVE-2019-17178

Unchecked Return Value

Published: Oct 04, 2019 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.

Affected Software

NameVendorStart VersionEnd Version
FreerdpFreerdp*1.0.2 (including)
FreerdpFreerdp1.1.0-beta1 (including)1.1.0-beta1 (including)
FreerdpUbuntubionic*
FreerdpUbuntutrusty*
FreerdpUbuntuxenial*
Freerdp2Ubuntutrusty*
Freerdp2Ubuntuupstream*

Potential Mitigations

References