Every CVE Search/ Get API key

CVE-2017-6362

Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote...

7.5 HighFix available

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

5.10%Up 3.5 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
gd
Alpine:v3.4
before 2.2.5-r0
2.2.5-r0
gd
Alpine:v3.5
before 2.2.5-r0
2.2.5-r0
gd
Alpine:v3.6
before 2.2.5-r0
2.2.5-r0
libgd2
Debian:12
before 2.2.5-1
2.2.5-1
libgd2
Debian:13
before 2.2.5-1
2.2.5-1
libgd2
Debian:14
before 2.2.5-1
2.2.5-1
libgd2
Debian: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 less
2.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
libgd2
Debian: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 less
2.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
libgd2
Debian:9
before 2.2.4-2+deb9u2, plus listed versions
2.2.4-22.2.4-2+deb9u1
2.2.4-2+deb9u2
libwmf
Mageia:5
before 0.2.8.4-32.5.mga5
0.2.8.4-32.5.mga5
Show 17 moreShow less
Affected packages
PackageAffectedFixed
libwmf
Mageia:6
before 0.2.8.4-37.1.mga6
0.2.8.4-37.1.mga6
libgd
Mageia:5
before 2.2.5-1.mga5
2.2.5-1.mga5
libgd
Mageia:6
before 2.2.5-1.mga6
2.2.5-1.mga6
gd
SUSE:Linux Enterprise Desktop 12 SP2
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Desktop 12 SP3
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Server 12 SP2
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Server 12 SP3
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Workstation Extension 12 SP2
before 2.1.0-24.3.4
2.1.0-24.3.4
gd
SUSE:Linux Enterprise Workstation Extension 12 SP3
before 2.1.0-24.3.4
2.1.0-24.3.4
libgd2
Ubuntu: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
libgd2
Ubuntu: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
gd
openSUSE:Tumbleweed
From an advisory covering 14 CVEs
before 2.3.3-1.1
2.3.3-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 33 moreShow less
MoveEnter Open