CVE-2019-17178
HuffmanTree_makeFromFrequencies in lodepng.c in LodePNG through 2019-09-28, as used in WinPR in...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2019-17178- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-252, CWE-401
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2019-17178- Updated
- 2026-11-02
EUVDEUVD-2019-7612 No score
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.
- Record
EUVD-2019-7612- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v77x-r3jc-52jh No score
HuffmanTree_makeFromFrequencies in lodepng.c in LodePNG through 2019-09-28, as used in WinPR in...
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.
- Record
GHSA-v77x-r3jc-52jh- Weakness
- CWE-772
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2019-17178- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-17178
7.5
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.
- Record
DEBIAN-CVE-2019-17178- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2019-17178
7.5
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.
- Record
UBUNTU-CVE-2019-17178- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0401 No score
Updated freerdp packages fix security vulnerabilities
Updated freerdp packages fix security vulnerabilities:
Multiple memory leaks in libfreerdp/codec/region.c (CVE-2019-17177).
Memory leak in HuffmanTree_makeFromFrequencies (CVE-2019-17178).
- Record
MGASA-2019-0401- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2604-1 No score
Security update for freerdp
This update for freerdp fixes the following issues:
- CVE-2019-17177: Fixed multiple memory leaks in libfreerdp/codec/region.c (bsc#1153163).
- CVE-2019-17178: Fixed a memory leak in HuffmanTree_makeFromFrequencies (bsc#1153164).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:2604-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2608-1 No score
Security update for freerdp
This update for freerdp fixes the following issues:
- CVE-2019-17177: Fixed multiple memory leaks in libfreerdp/codec/region.c (bsc#1153163).
- CVE-2019-17178: Fixed a memory leak in HuffmanTree_makeFromFrequencies (bsc#1153164).
This update was imported from the SUSE:SLE-15-SP1:Update update project.
- Record
openSUSE-SU-2019:2608-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:3077-1 No score
Security update for freerdp
This update for freerdp fixes the following issues:
- CVE-2019-17177: Fixed multiple memory leaks in libfreerdp/codec/region.c (bsc#1153163).
- CVE-2019-17178: Fixed a memory leak in HuffmanTree_makeFromFrequencies (bsc#1153164).
- Record
SUSE-SU-2019:3077-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:3078-1 No score
Security update for freerdp
This update for freerdp fixes the following issues:
- CVE-2019-17177: Fixed multiple memory leaks in libfreerdp/codec/region.c (bsc#1153163).
- CVE-2019-17178: Fixed a memory leak in HuffmanTree_makeFromFrequencies (bsc#1153164).
- Record
SUSE-SU-2019:3078-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:3079-1 No score
Security update for freerdp
This update for freerdp fixes the following issues:
- CVE-2019-17177: Fixed multiple memory leaks in libfreerdp/codec/region.c (bsc#1153163).
- CVE-2019-17178: Fixed a memory leak in HuffmanTree_makeFromFrequencies (bsc#1153164).
- Record
SUSE-SU-2019:3079-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
freerdp2Debian:12 |
before 2.0.0~git20190204.1.2693389a+dfsg1-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2 |
freerdpMageia:7 From an advisory covering 2 CVEs |
before 2.0.0-0.rc4.1.1.mga7 | 2.0.0-0.rc4.1.1.mga7 |
freerdpSUSE:Linux Enterprise Desktop 12 SP4 From an advisory covering 2 CVEs |
before 2.0.0~git.1463131968.4e66df7-12.11.1 | 2.0.0~git.1463131968.4e66df7-12.11.1 |
freerdpSUSE:Linux Enterprise Software Development Kit 12 SP4 From an advisory covering 2 CVEs |
before 2.0.0~git.1463131968.4e66df7-12.11.1 | 2.0.0~git.1463131968.4e66df7-12.11.1 |
freerdpSUSE:Linux Enterprise Software Development Kit 12 SP5 From an advisory covering 2 CVEs |
before 2.0.0~git.1463131968.4e66df7-12.11.1 | 2.0.0~git.1463131968.4e66df7-12.11.1 |
freerdpSUSE:Linux Enterprise Workstation Extension 12 SP4 From an advisory covering 2 CVEs |
before 2.0.0~git.1463131968.4e66df7-12.11.1 | 2.0.0~git.1463131968.4e66df7-12.11.1 |
freerdpSUSE:Linux Enterprise Workstation Extension 12 SP5 From an advisory covering 2 CVEs |
before 2.0.0~git.1463131968.4e66df7-12.11.1 | 2.0.0~git.1463131968.4e66df7-12.11.1 |
freerdpSUSE:Linux Enterprise Workstation Extension 15 From an advisory covering 2 CVEs |
before 2.0.0~rc4-3.10.1 | 2.0.0~rc4-3.10.1 |
freerdpSUSE:Linux Enterprise Workstation Extension 15 SP1 From an advisory covering 2 CVEs |
before 2.0.0~rc4-10.4.1 | 2.0.0~rc4-10.4.1 |
freerdpUbuntu:16.04:LTS |
All versions, plus listed versions 1.1.0~git20140921.1.440916e+dfsg1-5ubuntu11.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.21.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.31.1.0~git20140921.1.440916e+dfsg1-5ubuntu1.4 |
None known |
freerdpUbuntu:18.04:LTS |
All versions, plus listed versions 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu11.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.11.1.0~git20140921.1.440916e+dfsg1-15ubuntu1.18.04.2 |
None known |
freerdpopenSUSE:Leap 15.0 From an advisory covering 2 CVEs |
before 2.0.0~rc4-lp150.10.1 | 2.0.0~rc4-lp150.10.1 |
freerdpopenSUSE:Leap 15.1 From an advisory covering 2 CVEs |
before 2.0.0~rc4-lp151.5.3.1 | 2.0.0~rc4-lp151.5.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-17178 is a high vulnerability (CVSS 7.5) in Freerdp, published October 4, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.26%, the 83rd percentile. Fixed in freerdp2 2.0.0~git20190204.1.2693389a+dfsg1-2.
References
github.com/FreeRDP/FreeRDP/issues/5645
lists.opensuse.org/opensuse-security-announce/2019-12/msg00004.html
lists.opensuse.org/opensuse-security-announce/2019-12/msg00005.html
github.com/FreeRDP/FreeRDP/commit/9fee4ae076b1ec97b97efb79ece08d1dab4df29a
nvd.nist.gov/vuln/detail/CVE-2019-17178
github.com/akallabeth/FreeRDP/commit/fc80ab45621bd966f70594c0b7393ec005a94007
Show 16 moreShow less
github.com/advisories/GHSA-v77x-r3jc-52jh
security-tracker.debian.org/tracker/CVE-2019-17178
advisories.mageia.org/MGASA-2019-0401.html
bugs.mageia.org/show_bug.cgi?id=25815
lists.opensuse.org/opensuse-updates/2019-12/msg00012.html
suse.com/support/update/announcement/2019/suse-su-20193077-1
bugzilla.suse.com/1153163
bugzilla.suse.com/1153164
suse.com/security/cve/CVE-2019-17177
suse.com/security/cve/CVE-2019-17178
suse.com/support/update/announcement/2019/suse-su-20193078-1
suse.com/support/update/announcement/2019/suse-su-20193079-1
ubuntu.com/security/CVE-2019-17178
cve.org/CVERecord?id=CVE-2019-17178
lists.opensuse.org/archives/list/[email protected]/thread/2N44X27V2TK7I3SKVF6V4UEMZWFQGQR5
lists.opensuse.org/archives/list/[email protected]/thread/NEF2V7DLUC7RO2QGTD4SSUNLXPL6YLVR