Vulnerabilities · 2018 · Php
CVE-2018-5711
Php vulnerability
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.
Affected products
Php, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- php.net/ChangeLog-5.php · Vendor Advisory
- php.net/ChangeLog-7.php · Vendor Advisory
- bugs.php.net/bug.php?id=75571 · Patch
- access.redhat.com/errata/RHSA-2018:1296 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/01/msg00022.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/01/msg00028.html · Third Party Advisory
- security.gentoo.org/glsa/201903-18 · Third Party Advisory
- usn.ubuntu.com/3755-1/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-5711
- cve.org/CVERecord?id=CVE-2018-5711
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.