CVE-2018-5711Php
Medium 5.5 High EPSS
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 34
- CVSS 3.0
- 5.5
- EPSS
- 13.2% probability of exploitation in 30 days · percentile 97
- Auth required
- Yes
- Published
- Jan 16, 2018
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Php.
Affected products (CPE)
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- php.net Release Notes Vendor Advisory
- php.net Release Notes Vendor Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com
- bugs.php.net Patch Vendor Advisory
- lists.debian.org Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.oracle.com