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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 7.49% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 94.2% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2016-08-07 10:00Z10 YR AGO
- Last updated
- 2024-08-06 01:15Z2 YR AGO
- Reserved
- 2016-06-23
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-190Integer Overflow or WraparoundBase
- Data version
- 5.1
- Document digest
- fe2479ce0c3da3e61cc3bdd3419e8a3fdeab58ef5029274c34069e1e6c56a6a3
05 Affected products
06 References
- bugs.php.nethttps://bugs.php.net/bug.php?id=72339
- libgd.github.iohttps://libgd.github.io/release-2.2.3.html
- lists.opensuse.orgopenSUSE-SU-2016:1761http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
- lists.opensuse.orgopenSUSE-SU-2016:1922http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
- rhn.redhat.comRHSA-2016:2750http://rhn.redhat.com/errata/RHSA-2016-2750.html
- rhn.redhat.comRHSA-2016:2598http://rhn.redhat.com/errata/RHSA-2016-2598.html
- php.nethttp://php.net/ChangeLog-5.php
- github.comhttp://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1
- www.openwall.com[oss-security] 20160623 Re: CVE for PHP 5.5.37 issueshttp://www.openwall.com/lists/oss-security/2016/06/23/4
- security.gentoo.orgGLSA-201612-09https://security.gentoo.org/glsa/201612-09
- php.nethttp://php.net/ChangeLog-7.php
- h20566.www2.hpe.comhttps://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- www.debian.orgDSA-3619http://www.debian.org/security/2016/dsa-3619
- lists.opensuse.orgSUSE-SU-2016:2013http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html
- www.ubuntu.comUSN-3030-1http://www.ubuntu.com/usn/USN-3030-1
07 Fixed in
Debian 12
- libgd2 Fixed in 2.2.2-29-g3c2b605-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libgd2 Fixed in 2.2.2-29-g3c2b605-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libgd2 Fixed in 2.2.2-29-g3c2b605-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- libgd2 Fixed in 2.1.0-3ubuntu0.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- libgd2 Fixed in 2.1.1-4ubuntu0.16.04.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.