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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
freerdp2 (PTS)bullseye2.3.0+dfsg1-2+deb11u1fixed
bookworm2.10.0+dfsg1-1fixed
sid, trixie2.11.7+dfsg1-4fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
freerdpsourcestretch(not affected)
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 <not-affected> (Vulnerable code not present)
https://github.com/FreeRDP/FreeRDP/issues/5645
https://github.com/FreeRDP/FreeRDP/commit/9fee4ae076b1ec97b97efb79ece08d1dab4df29a (v2.0.0)
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
embedded from: https://github.com/FreeRDP/FreeRDP/commit/1c345834079f3c8b581204e36b0cf0f3c021c445 (2.0.0-beta1+android10)
to: https://github.com/FreeRDP/FreeRDP/commit/605b6b6233e52151d208b7faa87691533a857b07 (3.0.0-beta2)

Search for package or bug name: Reporting problems