CVE-2018-5711

Summary

CVECVE-2018-5711
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-01-16 09:29:00 UTC
Updated2023-11-07 02:58:00 UTC
Descriptiongd_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.

Risk And Classification

Problem Types: CWE-681 | CWE-835

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Php Php 7.2.0 All All All
Application Php Php 7.2.0 All All All
Application Php Php All All All All
Application Php Php All All All All
Application Php Php All All All All

References

ReferenceSourceLinkTags
USN-3755-1: GD vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
[SECURITY] Fedora 32 Update: gd-2.3.0-1.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
GD: Multiple vulnerabilities (GLSA 201903-18) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
PHP: PHP 7 ChangeLog CONFIRM php.net Release Notes, Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
PHP :: Sec Bug #75571 :: Potential infinite loop in gdImageCreateFromGifCtx CONFIRM bugs.php.net Patch, Vendor Advisory
[SECURITY] [DLA 1248-1] libgd2 security update MLIST lists.debian.org Third Party Advisory
[SECURITY] Fedora 32 Update: gd-2.3.0-1.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] [DLA 1651-1] libgd2 security update MLIST lists.debian.org Third Party Advisory
Oracle Critical Patch Update Advisory - April 2020 N/A www.oracle.com
PHP: PHP 5 ChangeLog CONFIRM php.net Release Notes, Vendor Advisory
Red Hat Customer Portal REDHAT access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 296091 Oracle Solaris 11.4 Support Repository Update (SRU) 6.1.4 Missing (CPUJAN2019)
  • 500196 Alpine Linux Security Update for gd
  • 503938 Alpine Linux Security Update for gd
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report