Skip to main content
No exploitation reportedFix available

CVE-2016-5766

No exploitation reported by the sources we read.

  • Published2016-08-07
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.

Timeline

dates in UTC
  1. 2016-08-0710:59CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2016-5766?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2016-5766?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Freebsd
BranchAffectedFixed in
8.3= 8.3no fix published
8.0= 8.0no fix published
10.0= 10.0no fix published
10.1= 10.1no fix published
8.4= 8.4no fix published
9.2= 9.2no fix published
8.2= 8.2no fix published
8.1= 8.1no fix published
9.0= 9.0no fix published
10.2= 10.2no fix published
9.3= 9.3no fix published
10.3= 10.3no fix published
Fedoraproject fedora
BranchAffectedFixed in
23.x= 23no fix published
24.x= 24no fix published
22.x= 22no fix published
Redhat enterprise linux
BranchAffectedFixed in
6.0= 6.0no fix published
5.x= 5no fix published
7.0= 7.0no fix published

3 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • NVDCVSS 3.08.8read 2026-10-23
  • NVDCVSS 2.06.8read 2026-10-23
  • NVDweakness (CWE)CWE-190read 2026-10-23
  • FIRST EPSSEPSS score7.5 %2026-10-22

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2016-08-07
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2016-5766?

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.

Is CVE-2016-5766 actively exploited?

Active exploitation of CVE-2016-5766 has not been confirmed. Its EPSS score was 7.5% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2016-5766?

CVE-2016-5766 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month