Medium severity5.5NVD Advisory· Published Jan 16, 2018· Updated Jun 17, 2026
CVE-2018-5711
CVE-2018-5711
Description
gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
29- osv-coords27 versionspkg:rpm/opensuse/gd&distro=openSUSE%20Tumbleweedpkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP2pkg:rpm/suse/gd&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP3pkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-LTSSpkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATApkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/php53&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/php5&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012pkg:rpm/suse/php5&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/php5&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/php7&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012pkg:rpm/suse/php7&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/php7&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3
< 2.3.3-1.1+ 26 more
- (no CPE)range: < 2.3.3-1.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.0.36.RC1-52.33.5.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.0.36.RC1-52.33.5.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.0.36.RC1-52.33.5.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 2.1.0-24.6.1
- (no CPE)range: < 5.3.17-112.20.1
- (no CPE)range: < 5.3.17-112.20.1
- (no CPE)range: < 5.3.17-112.20.1
- (no CPE)range: < 5.3.17-112.20.1
- (no CPE)range: < 5.3.17-112.20.1
- (no CPE)range: < 5.3.17-112.20.1
- (no CPE)range: < 5.5.14-109.17.1
- (no CPE)range: < 5.5.14-109.17.1
- (no CPE)range: < 5.5.14-109.17.1
- (no CPE)range: < 7.0.7-50.26.1
- (no CPE)range: < 7.0.7-50.26.1
- (no CPE)range: < 7.0.7-50.26.1
Patches
Vulnerability mechanics
References
11- bugs.php.net/bug.phpnvdPatchVendor Advisory
- php.net/ChangeLog-5.phpnvdRelease NotesVendor Advisory
- php.net/ChangeLog-7.phpnvdRelease NotesVendor Advisory
- access.redhat.com/errata/RHSA-2018:1296nvdThird Party Advisory
- lists.debian.org/debian-lts-announce/2018/01/msg00022.htmlnvdThird Party Advisory
- lists.debian.org/debian-lts-announce/2019/01/msg00028.htmlnvdThird Party Advisory
- security.gentoo.org/glsa/201903-18nvdThird Party Advisory
- usn.ubuntu.com/3755-1/nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2019:2519nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/nvd
- www.oracle.com/security-alerts/cpuapr2020.htmlnvd
News mentions
0No linked articles in our index yet.