← Vulnerability feed

Vulnerability record · CVE-2017-6363 · published 27 February 2020

CVE-2017-6363: Libgd out-of-bounds read vulnerability

Libgd · Libgd

In the GD Graphics Library (aka LibGD) through 2.2.5, there is a heap-based buffer over-read in tiffWriter in gd_tiff.c. NOTE: the vendor says "In my opinion this issue should not have a CVE, since the GD and GD2 formats are documented to be 'obsolete, and should only be used for development and testing purposes.'

8.1 CVSS 3.1 High EPSS 1.4% · top 27.1% CWE-125 · Out-of-bounds read
8.1CVSS 3.1 base score, v2 5.8
1.4%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

In the GD Graphics Library (aka LibGD) through 2.2.5, there is a heap-based buffer over-read in tiffWriter in gd_tiff.c. NOTE: the vendor says "In my opinion this issue should not have a CVE, since the GD and GD2 formats are documented to be 'obsolete, and should only be used for development and testing purposes.'

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/libgd/libgd/issues/383 ExploitIssue TrackingThird Party Advisory
https://github.com/libgd/libgd/issues/383 ExploitIssue TrackingThird Party Advisory

Track CVE-2017-6363 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-6978Libgd double free vulnerabilityThe GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c. NOTE: PHP is un…EPSS 4.5%9.8CVE-2016-10166Libgd vulnerabilityInteger underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attac…EPSS 11%9.8CVE-2016-6912Libgd double free vulnerabilityDouble free vulnerability in the gdImageWebPtr function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecifi…EPSS 4.5%9.8CVE-2016-8670Libgd memory buffer overflow vulnerabilityInteger signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.…EPSS 4.7%9.8CVE-2016-7568Libgd integer overflow vulnerabilityInteger overflow in the gdImageWebpCtx function in gd_webp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP through 7.0.11, all…EPSS 5.1%9.8CVE-2016-3074Libgd vulnerabilityInteger signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote attackers to cause a denial of service (crash) or potential…EPSS 36%9.1CVE-2016-5116Libgd memory buffer overflow vulnerabilitygd_xbm.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in certain custom PHP 5.5.x configurations, allows context-dependent attackers …EPSS 3.8%8.8CVE-2019-6977LibGD gdImageColorMatch heap buffer overflow via PHP imagecolormatchgdImageColorMatch in LibGD 2.2.5, reached through PHP's imagecolormatch function, contains a heap-based buffer overflow (CWE-787 out-of-bounds write)…EPSS 71%analysed

Source: NIST National Vulnerability Database (record CVE-2017-6363), CISA KEV, FIRST EPSS (scores of 2026-11-14). This page is refreshed as NVD updates the record.