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?
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
