GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2016-5766 (GCVE-0-2016-5766)

Vulnerability from cvelistv5 – Published: 2016-08-07 10:00 – Updated: 2024-08-06 01:15
VLAI
Summary
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.
CWE
  • n/a
References
Date Public
2016-06-23 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T01:15:09.075Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugs.php.net/bug.php?id=72339"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://libgd.github.io/release-2.2.3.html"
          },
          {
            "name": "openSUSE-SU-2016:1761",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html"
          },
          {
            "name": "openSUSE-SU-2016:1922",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html"
          },
          {
            "name": "RHSA-2016:2750",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
          },
          {
            "name": "RHSA-2016:2598",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2598.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://php.net/ChangeLog-5.php"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1"
          },
          {
            "name": "[oss-security] 20160623 Re: CVE for PHP 5.5.37 issues",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2016/06/23/4"
          },
          {
            "name": "GLSA-201612-09",
            "tags": [
              "vendor-advisory",
              "x_refsource_GENTOO",
              "x_transferred"
            ],
            "url": "https://security.gentoo.org/glsa/201612-09"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://php.net/ChangeLog-7.php"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
          },
          {
            "name": "DSA-3619",
            "tags": [
              "vendor-advisory",
              "x_refsource_DEBIAN",
              "x_transferred"
            ],
            "url": "http://www.debian.org/security/2016/dsa-3619"
          },
          {
            "name": "SUSE-SU-2016:2013",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html"
          },
          {
            "name": "USN-3030-1",
            "tags": [
              "vendor-advisory",
              "x_refsource_UBUNTU",
              "x_transferred"
            ],
            "url": "http://www.ubuntu.com/usn/USN-3030-1"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2016-06-23T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-01-04T19:57:01.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugs.php.net/bug.php?id=72339"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://libgd.github.io/release-2.2.3.html"
        },
        {
          "name": "openSUSE-SU-2016:1761",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html"
        },
        {
          "name": "openSUSE-SU-2016:1922",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html"
        },
        {
          "name": "RHSA-2016:2750",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
        },
        {
          "name": "RHSA-2016:2598",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2598.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://php.net/ChangeLog-5.php"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1"
        },
        {
          "name": "[oss-security] 20160623 Re: CVE for PHP 5.5.37 issues",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2016/06/23/4"
        },
        {
          "name": "GLSA-201612-09",
          "tags": [
            "vendor-advisory",
            "x_refsource_GENTOO"
          ],
          "url": "https://security.gentoo.org/glsa/201612-09"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://php.net/ChangeLog-7.php"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
        },
        {
          "name": "DSA-3619",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN"
          ],
          "url": "http://www.debian.org/security/2016/dsa-3619"
        },
        {
          "name": "SUSE-SU-2016:2013",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html"
        },
        {
          "name": "USN-3030-1",
          "tags": [
            "vendor-advisory",
            "x_refsource_UBUNTU"
          ],
          "url": "http://www.ubuntu.com/usn/USN-3030-1"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2016-5766",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bugs.php.net/bug.php?id=72339",
              "refsource": "CONFIRM",
              "url": "https://bugs.php.net/bug.php?id=72339"
            },
            {
              "name": "https://libgd.github.io/release-2.2.3.html",
              "refsource": "CONFIRM",
              "url": "https://libgd.github.io/release-2.2.3.html"
            },
            {
              "name": "openSUSE-SU-2016:1761",
              "refsource": "SUSE",
              "url": "http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html"
            },
            {
              "name": "openSUSE-SU-2016:1922",
              "refsource": "SUSE",
              "url": "http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html"
            },
            {
              "name": "RHSA-2016:2750",
              "refsource": "REDHAT",
              "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
            },
            {
              "name": "RHSA-2016:2598",
              "refsource": "REDHAT",
              "url": "http://rhn.redhat.com/errata/RHSA-2016-2598.html"
            },
            {
              "name": "http://php.net/ChangeLog-5.php",
              "refsource": "CONFIRM",
              "url": "http://php.net/ChangeLog-5.php"
            },
            {
              "name": "http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1",
              "refsource": "CONFIRM",
              "url": "http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1"
            },
            {
              "name": "[oss-security] 20160623 Re: CVE for PHP 5.5.37 issues",
              "refsource": "MLIST",
              "url": "http://www.openwall.com/lists/oss-security/2016/06/23/4"
            },
            {
              "name": "GLSA-201612-09",
              "refsource": "GENTOO",
              "url": "https://security.gentoo.org/glsa/201612-09"
            },
            {
              "name": "http://php.net/ChangeLog-7.php",
              "refsource": "CONFIRM",
              "url": "http://php.net/ChangeLog-7.php"
            },
            {
              "name": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731",
              "refsource": "CONFIRM",
              "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
            },
            {
              "name": "DSA-3619",
              "refsource": "DEBIAN",
              "url": "http://www.debian.org/security/2016/dsa-3619"
            },
            {
              "name": "SUSE-SU-2016:2013",
              "refsource": "SUSE",
              "url": "http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html"
            },
            {
              "name": "USN-3030-1",
              "refsource": "UBUNTU",
              "url": "http://www.ubuntu.com/usn/USN-3030-1"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2016-5766",
    "datePublished": "2016-08-07T10:00:00.000Z",
    "dateReserved": "2016-06-23T00:00:00.000Z",
    "dateUpdated": "2024-08-06T01:15:09.075Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2016-5766",
      "date": "2026-09-20",
      "epss": "0.07495",
      "percentile": "0.942"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:redhat:openshift:2.0:*:enterprise:*:*:*:*:*",
                  "matchCriteriaId": "22DCCD9B-8D31-4757-A68A-FEF2C1E9E2BE",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:8.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "30C501A1-FE2D-41E7-A5DB-C61D8701B9B4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "2F6AB192-9D7D-4A9A-8995-E53A9DE9EAFC",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "3CF1F9EF-01AF-4708-AE02-765360AF3D66",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:*",
                  "matchCriteriaId": "AA9B3CC0-DF1C-4A86-B2A3-A9D428A5A6E6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:libgd:libgd:2.2.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "AF216444-68A4-490E-B3A4-9ECA664939BD",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            },
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "44C85C39-7022-488D-8473-DB55CF456D7E",
                  "versionEndIncluding": "5.5.36",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*",
                  "matchCriteriaId": "5BF4E8FF-A3EC-43E8-A0C1-FD38AFCB77B8",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*",
                  "matchCriteriaId": "54ADECFC-3C07-43BC-B296-6C25AC7F1C95",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*",
                  "matchCriteriaId": "FE192054-2FBB-4388-A52A-422E20DEA2D7",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*",
                  "matchCriteriaId": "F0195D48-3B42-4AC0-B9C5-436E01C63879",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*",
                  "matchCriteriaId": "BF0E5D67-ABC1-41A5-94E1-7DD3CDB51D81",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*",
                  "matchCriteriaId": "319E0573-B1AD-40B6-B4BC-8BE67ED3EFDB",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*",
                  "matchCriteriaId": "1A7C00EB-87B7-4EB7-A4AC-8665D8C78467",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*",
                  "matchCriteriaId": "21BFCF10-786A-4D1E-9C37-50A1EC6056F1",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*",
                  "matchCriteriaId": "95A6D6C8-5F46-4897-A0B0-778631E8CE6A",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F1F13E2D-A8F7-4B74-8D03-7905C81672C9",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "AE18933A-5FE6-41C7-B1B6-DA3E762C3FB6",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "9AE1289F-03A6-4621-B387-5F5ADAC4AE92",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*",
                  "matchCriteriaId": "383697F5-D29E-475A-84F3-46B54A928889",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*",
                  "matchCriteriaId": "786ED182-5D71-4197-9196-12AB5CF05F85",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*",
                  "matchCriteriaId": "BF90980D-74AD-44AA-A7C5-A0B294CCE4F8",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*",
                  "matchCriteriaId": "48D6B69C-8F27-4F4C-B953-67A7F9C2FBA5",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B53DC0C3-EA19-4465-B65A-BC7CDB10D8BF",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*",
                  "matchCriteriaId": "BEA4DFC1-6C0C-42FB-9F47-E3E1AA9E47E0",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*",
                  "matchCriteriaId": "D904E21A-4B3B-4D96-850C-0C0315F14E6D",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:*",
                  "matchCriteriaId": "C7CEF6D7-8966-45E7-BEBB-12055F5898C6",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:*",
                  "matchCriteriaId": "171C1035-414C-4F3A-90F4-1A8ED26E3346",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:*",
                  "matchCriteriaId": "725BBA4E-B3BA-4AFA-A284-E0CDE3EC8FB4",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F7793408-66A2-4DE7-B5AA-E49E8A2EE043",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:*",
                  "matchCriteriaId": "95840EC0-512D-468D-99B0-17E8CFDD6BE0",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E1078D15-8073-4C04-82C2-3C8111E18B6C",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.17:*:*:*:*:*:*:*",
                  "matchCriteriaId": "1B2E5E0C-8DD7-4CF8-A7E7-28ED0FD8B0C1",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.18:*:*:*:*:*:*:*",
                  "matchCriteriaId": "3E6EE9E4-9D6E-4CCC-B116-6020DA6884BE",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.19:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F9A23E37-8B94-440A-8014-389AC5389A19",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.20:*:*:*:*:*:*:*",
                  "matchCriteriaId": "AD5E20AF-724B-4DBD-9AED-920375666B6B",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.21:*:*:*:*:*:*:*",
                  "matchCriteriaId": "FD008BBB-10C9-48E2-97B8-6B86B54FD48E",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.22:*:*:*:*:*:*:*",
                  "matchCriteriaId": "90727984-6853-4348-B3CD-4869788117FD",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "DB6890AF-8A0A-46EE-AAD5-CF9AAE14A321",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "6B90B947-7B54-47F3-9637-2F4AC44079EE",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "35848414-BD5D-4164-84DC-61ABBB1C4152",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "2B1F8402-8551-4F66-A9A7-81D472AB058E",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*",
                  "matchCriteriaId": "7A773E8E-48CD-4D35-A0FD-629BD9334486",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*",
                  "matchCriteriaId": "FC492340-79AF-4676-A161-079A97EC6F0C",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F1C2D8FE-C380-4B43-B634-A3DBA4700A71",
                  "vulnerable": false
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*",
                  "matchCriteriaId": "3EB58393-0C10-413C-8D95-6BAA8BC19A1B",
                  "vulnerable": false
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:10.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "CA79CE41-D873-4A4A-A20C-83EB8772E5FA",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E79AB8DD-C907-4038-A931-1A5A4CFB6A5B",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F6D63B21-9D2E-4B15-9E60-6181D44B1F55",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*",
                  "matchCriteriaId": "C729D5D1-ED95-443A-9F53-5D7C2FD9B80C",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:8.4:*:*:*:*:*:*:*",
                  "matchCriteriaId": "5DB4C0E8-8E50-44B1-BE0C-4C261D9E9730",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:9.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "2C560926-7789-4052-819D-C36C43C9C61E",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:8.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "DD5ECA1A-D9B4-4ED7-95EC-684E7AA2B765",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:8.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "9899C87E-2C09-46AE-BC24-1ACF012784CA",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:9.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E6BD5BFF-260A-4A9E-B0AA-C8B8386B154E",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "21EFF723-7B5A-4712-8A6B-56CADAA4BFD5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*",
                  "matchCriteriaId": "253C303A-E577-4488-93E6-68A8DD942C38",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:9.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "57052F01-8695-4C63-A947-7671375B9312",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "142AD0DD-4CF3-4D74-9442-459CE3347E3A",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:10.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E102E760-362C-4DC7-BDED-E2CF9F94ECE7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:freebsd:freebsd:9.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "D78E559A-430D-4D50-8A83-58A37D393471",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        },
        {
          "lang": "es",
          "value": "Desbordamiento de entero en la funci\u00f3n _gd2GetHeader en gd_gd2.c en la GD Graphics Library (tambi\u00e9n conocido como libgd) en versiones anteriores a 2.2.3, como se utiliza en PHP en versiones anteriores a 5.5.37, 5.6.x en versiones anteriores a 5.6.23 y 7.x en versiones anteriores a 7.0.8, permite a atacantes remotos provocar una denegaci\u00f3n de servicio (desbordamiento de b\u00fafer basado en memoria din\u00e1mica y ca\u00edda de aplicaci\u00f3n) o posiblemente tener otro impacto no especificado a trav\u00e9s de dimensiones del pedazo en una imagen manipulada."
        }
      ],
      "evaluatorComment": "\u003ca href=\"http://cwe.mitre.org/data/definitions/122.html\"\u003eCWE-122\u003c/a\u003e",
      "id": "CVE-2016-5766",
      "lastModified": "2024-11-21T02:54:58.810",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "MEDIUM",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "PARTIAL",
              "baseScore": 6.8,
              "confidentialityImpact": "PARTIAL",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
              "version": "2.0"
            },
            "exploitabilityScore": 8.6,
            "impactScore": 6.4,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": true
          }
        ],
        "cvssMetricV30": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 8.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
              "version": "3.0"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 5.9,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2016-08-07T10:59:13.663",
      "references": [
        {
          "source": "cve@mitre.org",
          "tags": [
            "Exploit",
            "Patch"
          ],
          "url": "http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Release Notes"
          ],
          "url": "http://php.net/ChangeLog-5.php"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Release Notes"
          ],
          "url": "http://php.net/ChangeLog-7.php"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2598.html"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "http://www.debian.org/security/2016/dsa-3619"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Release Notes"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2016/06/23/4"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://www.ubuntu.com/usn/USN-3030-1"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Exploit",
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://bugs.php.net/bug.php?id=72339"
        },
        {
          "source": "cve@mitre.org",
          "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Release Notes"
          ],
          "url": "https://libgd.github.io/release-2.2.3.html"
        },
        {
          "source": "cve@mitre.org",
          "url": "https://security.gentoo.org/glsa/201612-09"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Patch"
          ],
          "url": "http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Release Notes"
          ],
          "url": "http://php.net/ChangeLog-5.php"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Release Notes"
          ],
          "url": "http://php.net/ChangeLog-7.php"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2598.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "http://www.debian.org/security/2016/dsa-3619"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Release Notes"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2016/06/23/4"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://www.ubuntu.com/usn/USN-3030-1"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://bugs.php.net/bug.php?id=72339"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Release Notes"
          ],
          "url": "https://libgd.github.io/release-2.2.3.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://security.gentoo.org/glsa/201612-09"
        }
      ],
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-190"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:redhat:openshift:2.0:*:enterprise:*:*:*:*:*",
                    "matchCriteriaId": "22DCCD9B-8D31-4757-A68A-FEF2C1E9E2BE",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:8.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "30C501A1-FE2D-41E7-A5DB-C61D8701B9B4",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2F6AB192-9D7D-4A9A-8995-E53A9DE9EAFC",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3CF1F9EF-01AF-4708-AE02-765360AF3D66",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AA9B3CC0-DF1C-4A86-B2A3-A9D428A5A6E6",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:libgd:libgd:2.2.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AF216444-68A4-490E-B3A4-9ECA664939BD",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              },
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "44C85C39-7022-488D-8473-DB55CF456D7E",
                    "versionEndIncluding": "5.5.36",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*",
                    "matchCriteriaId": "5BF4E8FF-A3EC-43E8-A0C1-FD38AFCB77B8",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*",
                    "matchCriteriaId": "54ADECFC-3C07-43BC-B296-6C25AC7F1C95",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*",
                    "matchCriteriaId": "FE192054-2FBB-4388-A52A-422E20DEA2D7",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*",
                    "matchCriteriaId": "F0195D48-3B42-4AC0-B9C5-436E01C63879",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*",
                    "matchCriteriaId": "BF0E5D67-ABC1-41A5-94E1-7DD3CDB51D81",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*",
                    "matchCriteriaId": "319E0573-B1AD-40B6-B4BC-8BE67ED3EFDB",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*",
                    "matchCriteriaId": "1A7C00EB-87B7-4EB7-A4AC-8665D8C78467",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*",
                    "matchCriteriaId": "21BFCF10-786A-4D1E-9C37-50A1EC6056F1",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*",
                    "matchCriteriaId": "95A6D6C8-5F46-4897-A0B0-778631E8CE6A",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F1F13E2D-A8F7-4B74-8D03-7905C81672C9",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AE18933A-5FE6-41C7-B1B6-DA3E762C3FB6",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9AE1289F-03A6-4621-B387-5F5ADAC4AE92",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "383697F5-D29E-475A-84F3-46B54A928889",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "786ED182-5D71-4197-9196-12AB5CF05F85",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BF90980D-74AD-44AA-A7C5-A0B294CCE4F8",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*",
                    "matchCriteriaId": "48D6B69C-8F27-4F4C-B953-67A7F9C2FBA5",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B53DC0C3-EA19-4465-B65A-BC7CDB10D8BF",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BEA4DFC1-6C0C-42FB-9F47-E3E1AA9E47E0",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D904E21A-4B3B-4D96-850C-0C0315F14E6D",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C7CEF6D7-8966-45E7-BEBB-12055F5898C6",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:*",
                    "matchCriteriaId": "171C1035-414C-4F3A-90F4-1A8ED26E3346",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:*",
                    "matchCriteriaId": "725BBA4E-B3BA-4AFA-A284-E0CDE3EC8FB4",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F7793408-66A2-4DE7-B5AA-E49E8A2EE043",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:*",
                    "matchCriteriaId": "95840EC0-512D-468D-99B0-17E8CFDD6BE0",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E1078D15-8073-4C04-82C2-3C8111E18B6C",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.17:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1B2E5E0C-8DD7-4CF8-A7E7-28ED0FD8B0C1",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.18:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3E6EE9E4-9D6E-4CCC-B116-6020DA6884BE",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.19:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F9A23E37-8B94-440A-8014-389AC5389A19",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.20:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AD5E20AF-724B-4DBD-9AED-920375666B6B",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.21:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FD008BBB-10C9-48E2-97B8-6B86B54FD48E",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.22:*:*:*:*:*:*:*",
                    "matchCriteriaId": "90727984-6853-4348-B3CD-4869788117FD",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DB6890AF-8A0A-46EE-AAD5-CF9AAE14A321",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6B90B947-7B54-47F3-9637-2F4AC44079EE",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "35848414-BD5D-4164-84DC-61ABBB1C4152",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2B1F8402-8551-4F66-A9A7-81D472AB058E",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7A773E8E-48CD-4D35-A0FD-629BD9334486",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FC492340-79AF-4676-A161-079A97EC6F0C",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F1C2D8FE-C380-4B43-B634-A3DBA4700A71",
                    "vulnerable": false
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3EB58393-0C10-413C-8D95-6BAA8BC19A1B",
                    "vulnerable": false
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ],
            "operator": "AND"
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:10.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "CA79CE41-D873-4A4A-A20C-83EB8772E5FA",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E79AB8DD-C907-4038-A931-1A5A4CFB6A5B",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F6D63B21-9D2E-4B15-9E60-6181D44B1F55",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C729D5D1-ED95-443A-9F53-5D7C2FD9B80C",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:8.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5DB4C0E8-8E50-44B1-BE0C-4C261D9E9730",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:9.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2C560926-7789-4052-819D-C36C43C9C61E",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:8.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DD5ECA1A-D9B4-4ED7-95EC-684E7AA2B765",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:8.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9899C87E-2C09-46AE-BC24-1ACF012784CA",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:9.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E6BD5BFF-260A-4A9E-B0AA-C8B8386B154E",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "21EFF723-7B5A-4712-8A6B-56CADAA4BFD5",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*",
                    "matchCriteriaId": "253C303A-E577-4488-93E6-68A8DD942C38",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:9.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "57052F01-8695-4C63-A947-7671375B9312",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "142AD0DD-4CF3-4D74-9442-459CE3347E3A",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:10.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E102E760-362C-4DC7-BDED-E2CF9F94ECE7",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:freebsd:freebsd:9.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D78E559A-430D-4D50-8A83-58A37D393471",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          },
          {
            "lang": "es",
            "value": "Desbordamiento de entero en la funci\u00f3n _gd2GetHeader en gd_gd2.c en la GD Graphics Library (tambi\u00e9n conocido como libgd) en versiones anteriores a 2.2.3, como se utiliza en PHP en versiones anteriores a 5.5.37, 5.6.x en versiones anteriores a 5.6.23 y 7.x en versiones anteriores a 7.0.8, permite a atacantes remotos provocar una denegaci\u00f3n de servicio (desbordamiento de b\u00fafer basado en memoria din\u00e1mica y ca\u00edda de aplicaci\u00f3n) o posiblemente tener otro impacto no especificado a trav\u00e9s de dimensiones del pedazo en una imagen manipulada."
          }
        ],
        "evaluatorComment": "\u003ca href=\"http://cwe.mitre.org/data/definitions/122.html\"\u003eCWE-122\u003c/a\u003e",
        "id": "CVE-2016-5766",
        "lastModified": "2026-05-06T22:30:45.220",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "MEDIUM",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 6.8,
                "confidentialityImpact": "PARTIAL",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 8.6,
              "impactScore": 6.4,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": true
            }
          ],
          "cvssMetricV30": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                "version": "3.0"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 5.9,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2016-08-07T10:59:13.663",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Patch"
            ],
            "url": "http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Release Notes"
            ],
            "url": "http://php.net/ChangeLog-5.php"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Release Notes"
            ],
            "url": "http://php.net/ChangeLog-7.php"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2598.html"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "http://www.debian.org/security/2016/dsa-3619"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Release Notes"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2016/06/23/4"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.ubuntu.com/usn/USN-3030-1"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Patch",
              "Vendor Advisory"
            ],
            "url": "https://bugs.php.net/bug.php?id=72339"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Release Notes"
            ],
            "url": "https://libgd.github.io/release-2.2.3.html"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://security.gentoo.org/glsa/201612-09"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Patch"
            ],
            "url": "http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Release Notes"
            ],
            "url": "http://php.net/ChangeLog-5.php"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Release Notes"
            ],
            "url": "http://php.net/ChangeLog-7.php"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2598.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "http://www.debian.org/security/2016/dsa-3619"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Release Notes"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2016/06/23/4"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.ubuntu.com/usn/USN-3030-1"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Patch",
              "Vendor Advisory"
            ],
            "url": "https://bugs.php.net/bug.php?id=72339"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Release Notes"
            ],
            "url": "https://libgd.github.io/release-2.2.3.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://security.gentoo.org/glsa/201612-09"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-190"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-28T07:26:16+00:00",
      "cve": "CVE-2016-5766",
      "id": "CVE-2016-5766",
      "initial_release_date": "2016-06-23T00:00:00+00:00",
      "product_status:fixed": "527",
      "product_status:known_affected": "89",
      "product_status:known_not_affected": "3",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "gd: Integer overflow in _gd2GetHeader() resulting in heap overflow",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-5766.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-04T01:05:15Z",
      "cve": "CVE-2016-5766",
      "id": "CVE-2016-5766",
      "initial_release_date": "2023-02-15T05:00:08Z",
      "product_status:known_affected": "1054",
      "product_status:known_not_affected": "970",
      "product_status:recommended": "1763",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2016-5766",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2016-5766.json",
      "version": "39"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…