CVE-2019-17178

NameCVE-2019-17178
DescriptionHuffmanTree_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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
freerdp (PTS)stretch1.1.0~git20140921.1.440916e+dfsg1-13+deb9u3vulnerable
stretch (security)1.1.0~git20140921.1.440916e+dfsg1-13+deb9u4vulnerable
freerdp2 (PTS)buster2.0.0~git20190204.1.2693389a+dfsg1-1+deb10u2fixed
bookworm, sid, bullseye2.3.0+dfsg1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
freerdpsource(unstable)(unfixed)
freerdp2sourcebuster2.0.0~git20190204.1.2693389a+dfsg1-1+deb10u1
freerdp2source(unstable)2.0.0~git20190204.1.2693389a+dfsg1-2

Notes

[stretch] - freerdp <postponed> (Minor issue, can be fixed along with next DLA)
https://github.com/FreeRDP/FreeRDP/issues/5645
https://github.com/akallabeth/FreeRDP/commit/fc80ab45621bd966f70594c0b7393ec005a94007
Multiple source packages embed a copy of lodepng (openscad, tbb, mame, passage,
quakespasm, simbody, paraview, dart, drumgizmo, doxygen, love, libtcod, f
cubicsdr, nestopia, refind, zopfli, montage), but don't seem security-relevant

Search for package or bug name: Reporting problems