CVE-2018-5711
Last modified
CVE-2018-5711 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 13.45% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.6.32 |
| Php | Php | >= 7.0.0, <= 7.0.26 |
| Php | Php | > 7.1.0, <= 7.1.12 |
| Php | Php | 7.2.0 |
| Debian | Debian Linux | 7.0 |
| Debian | Debian Linux | 8.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
References
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1296Third Party Advisory
- https://bugs.php.net/bug.php?id=75571Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/01/msg00022.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/01/msg00028.htmlThird Party Advisory
- https://security.gentoo.org/glsa/201903-18Third Party Advisory
- https://usn.ubuntu.com/3755-1/Third Party Advisory
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:1296Third Party Advisory
- https://bugs.php.net/bug.php?id=75571Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2018/01/msg00022.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/01/msg00028.htmlThird Party Advisory
- https://security.gentoo.org/glsa/201903-18Third Party Advisory
- https://usn.ubuntu.com/3755-1/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-5711?
How severe is CVE-2018-5711?
How do I fix CVE-2018-5711?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-5704Open On-Chip Debugger (OpenOCD) 0.10.0 does not block attemp…
- CVE-2018-5705Reservo Image Hosting 1.6 is vulnerable to XSS attacks. The …
- CVE-2018-5706An issue was discovered in Octopus Deploy before 4.1.9. Any …
- CVE-2018-5708An issue was discovered on D-Link DIR-601 B1 2.02NA devices.…
- CVE-2018-5709An issue was discovered in MIT Kerberos 5 (aka krb5) through…
- CVE-2018-5710An issue was discovered in MIT Kerberos 5 (aka krb5) through…
- CVE-2018-5712An issue was discovered in PHP before 5.6.33, 7.0.x before 7…
- CVE-2018-5713In Malwarefox Anti-Malware 2.72.169, the driver file (zam64.…
- CVE-2018-5714In Malwarefox Anti-Malware 2.72.169, the driver file (zam64.…
- CVE-2018-5715phprint.php in SugarCRM 3.5.1 has XSS via a parameter name i…
- CVE-2018-5716An issue was discovered in Reprise License Manager 11.0. Thi…8.1
- CVE-2018-5717Memory write mechanism in NCR S2 Dispenser controller before…
Are you affected by CVE-2018-5711?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
