Vulnerability in PHP
CVE-2018-5711
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.132 (96.2th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.132 · newest: 0.132 · change: 0.000
Affected products
- PHP — versions 7.2.0
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 7.0, 8.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugs.php.net/bug.php (Patch, Vendor Advisory)
- usn.ubuntu.com/3755-1/ (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:1296 (vendor-advisory, Third Party Advisory)
- php.net/ChangeLog-5.php (Release Notes, Vendor Advisory)
- lists.debian.org/debian-lts-announce/2019/01/msg00028.html (mailing-list, Third Party Advisory)
- php.net/ChangeLog-7.php (Release Notes, Vendor Advisory)
- lists.debian.org/debian-lts-announce/2018/01/msg00022.html (mailing-list, Third Party Advisory)
- security.gentoo.org/glsa/201903-18 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:2519 (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2018-5711?
- CVE-2018-5711 is a medium-severity vulnerability in PHP, classified under Incorrect Conversion between Numeric Types. CVSS score: 5.5/10. Published 2018-01-16.
- How severe is CVE-2018-5711?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2018-5711 known to be exploited?
- 12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.