CVE-2017-6362
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote...
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
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
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
- Record
CVE-2017-6362- CVSS 3.0
- 7.5 High
CVSS:3.0/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-415
- Updated
- 2026-11-02
CVE List No score
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
- Record
CVE-2017-6362- Updated
- 2026-11-02
EUVDEUVD-2017-15423 No score
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
- Record
EUVD-2017-15423- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hc3p-jvff-jfw5
7.5
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote...
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
- Record
GHSA-hc3p-jvff-jfw5- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-415
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-6362
7.5
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
- Record
ALPINE-CVE-2017-6362- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-6362
7.5
CVE-2017-6362 does not affect BellSoft software
- Record
BELL-CVE-2017-6362- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSV
7.5
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
- Record
CVE-2017-6362- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-6362
7.5
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
- Record
DEBIAN-CVE-2017-6362- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-6362
7.5
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.
- Record
UBUNTU-CVE-2017-6362- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0351 No score
Updated libwmf packages fix security vulnerability
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors. (CVE-2017-6362)
- Record
MGASA-2017-0351- Updated
- 2026-11-02
OSVMGASA-2017-0356 No score
Updated libgd packages fix security vulnerability
Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors. (CVE-2017-6362)
- Record
MGASA-2017-0356- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10777-1 No score
gd-2.3.3-1.1 on GA media
These are all security issues fixed in the gd-2.3.3-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10777-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0135-1 No score
Security update for gd
This update for gd fixes one issues.
This security issue was fixed:
- CVE-2017-6362: Prevent double-free in gdImagePngPtr() that potentially allowed for DoS or remote code execution (bsc#1056993).
- Record
SUSE-SU-2018:0135-1- Updated
- 2026-11-02
OSVUSN-3410-1 No score
libgd2 vulnerability
It was discovered that the GD Graphics Library (aka libgd) incorrectly handled certain malformed PNG images. A remote attacker could use this issue to cause the GD Graphics Library to crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-3410-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gdAlpine:v3.4 |
before 2.2.5-r0 | 2.2.5-r0 |
gdAlpine:v3.5 |
before 2.2.5-r0 | 2.2.5-r0 |
gdAlpine:v3.6 |
before 2.2.5-r0 | 2.2.5-r0 |
libgd2Debian:12 |
before 2.2.5-1 | 2.2.5-1 |
libgd2Debian:13 |
before 2.2.5-1 | 2.2.5-1 |
libgd2Debian:14 |
before 2.2.5-1 | 2.2.5-1 |
libgd2Debian:7 |
before 2.0.36~rc1~dfsg-6.1+deb7u10, plus listed versions 2.0.36~rc1~dfsg-6.12.0.36~rc1~dfsg-6.1+deb7u12.0.36~rc1~dfsg-6.1+deb7u22.0.36~rc1~dfsg-6.1+deb7u32.0.36~rc1~dfsg-6.1+deb7u4 Show 5 moreShow less2.0.36~rc1~dfsg-6.1+deb7u52.0.36~rc1~dfsg-6.1+deb7u62.0.36~rc1~dfsg-6.1+deb7u72.0.36~rc1~dfsg-6.1+deb7u82.0.36~rc1~dfsg-6.1+deb7u9 |
2.0.36~rc1~dfsg-6.1+deb7u10 |
libgd2Debian:8 |
before 2.1.0-5+deb8u11, plus listed versions 2.1.0-52.1.0-5+deb8u12.1.0-5+deb8u102.1.0-5+deb8u22.1.0-5+deb8u3 Show 6 moreShow less2.1.0-5+deb8u42.1.0-5+deb8u52.1.0-5+deb8u62.1.0-5+deb8u72.1.0-5+deb8u82.1.0-5+deb8u9 |
2.1.0-5+deb8u11 |
libgd2Debian:9 |
before 2.2.4-2+deb9u2, plus listed versions 2.2.4-22.2.4-2+deb9u1 |
2.2.4-2+deb9u2 |
libwmfMageia:5 |
before 0.2.8.4-32.5.mga5 | 0.2.8.4-32.5.mga5 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libwmfMageia:6 |
before 0.2.8.4-37.1.mga6 | 0.2.8.4-37.1.mga6 |
libgdMageia:5 |
before 2.2.5-1.mga5 | 2.2.5-1.mga5 |
libgdMageia:6 |
before 2.2.5-1.mga6 | 2.2.5-1.mga6 |
gdSUSE:Linux Enterprise Desktop 12 SP2 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Desktop 12 SP3 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Server 12 SP2 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Server 12 SP3 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Workstation Extension 12 SP2 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
gdSUSE:Linux Enterprise Workstation Extension 12 SP3 |
before 2.1.0-24.3.4 | 2.1.0-24.3.4 |
libgd2Ubuntu:14.04:LTS |
before 2.1.0-3ubuntu0.8, plus listed versions 2.1.0-22.1.0-32.1.0-3ubuntu0.12.1.0-3ubuntu0.22.1.0-3ubuntu0.32.1.0-3ubuntu0.52.1.0-3ubuntu0.62.1.0-3ubuntu0.7 |
2.1.0-3ubuntu0.8 |
libgd2Ubuntu:16.04:LTS |
before 2.1.1-4ubuntu0.16.04.8, plus listed versions 2.1.1-4build12.1.1-4build22.1.1-4ubuntu0.16.04.12.1.1-4ubuntu0.16.04.22.1.1-4ubuntu0.16.04.32.1.1-4ubuntu0.16.04.52.1.1-4ubuntu0.16.04.62.1.1-4ubuntu0.16.04.7 |
2.1.1-4ubuntu0.16.04.8 |
gdopenSUSE:Tumbleweed From an advisory covering 14 CVEs |
before 2.3.3-1.1 | 2.3.3-1.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-2017-6362 is a high vulnerability (CVSS 7.5) in Libgd, published September 1, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.10%, the 92nd percentile. Fixed in gd 2.2.5-r0.
References
github.com/libgd/libgd/releases/tag/gd-2.2.5
github.com/libgd/libgd/issues/381
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N2BLXX7KNRE7ZVQAKGTHHWS33CUCXVUP
debian.org/security/2017/dsa-3961
nvd.nist.gov/vuln/detail/CVE-2017-6362
lists.fedoraproject.org/archives/list/[email protected]/message/N2BLXX7KNRE7ZVQAKGTHHWS33CUCXVUP
Show 33 moreShow less
github.com/advisories/GHSA-hc3p-jvff-jfw5
security.alpinelinux.org/vuln/CVE-2017-6362
docs.bell-sw.com/security/cves/CVE-2017-6362
security-tracker.debian.org/tracker/CVE-2017-6362
advisories.mageia.org/MGASA-2017-0351.html
bugs.mageia.org/show_bug.cgi?id=21707
lists.fedoraproject.org/archives/list/[email protected]/thread/OKUOTJ5FTMWQN74T3VDU57PWIVHXIOY2
pkgs.fedoraproject.org/cgit/rpms/libwmf.git/commit?id=e17758d24cb2e2613c2e71755dc86a21505c4140
advisories.mageia.org/MGASA-2017-0356.html
bugs.mageia.org/show_bug.cgi?id=21659
libgd.github.io/release-2.2.5.html
lists.fedoraproject.org/archives/list/[email protected]/thread/N2BLXX7KNRE7ZVQAKGTHHWS33CUCXVUP
suse.com/support/update/announcement/2018/suse-su-20180135-1
bugzilla.suse.com/1056993
suse.com/security/cve/CVE-2017-6362
ubuntu.com/security/CVE-2017-6362
github.com/libgd/libgd/commit/56ce6ef068b954ad28379e83cca04feefc51320c
ubuntu.com/security/notices/USN-3410-1
ubuntu.com/security/notices/USN-3410-2
cve.org/CVERecord?id=CVE-2017-6362
suse.com/security/cve/CVE-2007-2756
suse.com/security/cve/CVE-2016-10166
suse.com/security/cve/CVE-2016-10167
suse.com/security/cve/CVE-2016-10168
suse.com/security/cve/CVE-2016-6912
suse.com/security/cve/CVE-2016-9317
suse.com/security/cve/CVE-2017-7890
suse.com/security/cve/CVE-2018-1000222
suse.com/security/cve/CVE-2018-14553
suse.com/security/cve/CVE-2018-5711
suse.com/security/cve/CVE-2019-11038
suse.com/security/cve/CVE-2019-6977
suse.com/security/cve/CVE-2019-6978