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.

EPSS: 0.132 (96.0th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (x_refsource_CONFIRM, Patch, Vendor Advisory)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (x_refsource_CONFIRM, Release Notes, Vendor Advisory)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Third Party Advisory)
  • cve@mitre.org (x_refsource_CONFIRM, Release Notes, Vendor Advisory)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Third Party Advisory)
  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
  • cve@mitre.org (x_refsource_REDHAT, vendor-advisory)
  • cve@mitre.org (x_refsource_FEDORA, 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.