VDB

CVE-2018-5711

CVE-2018-5711 PUBLISHED

Reported by mitre · Published January 16, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php5Alpine5.6.33-r0
gdArch Linux2.2.5-2
php7Alpine7.1.13-r0, 7.0.27-r0
libgd2Ubuntu:14.04:LTS2.1.0-3ubuntu0.10
phpphp7.1.12, 7.0.26, 5.6.32
libgd2Ubuntu:18.04:LTS2.2.5-4ubuntu0.2

Affected products

VendorProductVersions
n/an/an/a
alpinephp50
archgd0
alpinephp70, 0
n/an/a*
alpinegd0

Timeline

  • Jan 16, 2018 CVE Published
  • Nov 12, 2019 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (5 in total, the first dated here)
  • Sep 19, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-5711
vulnetix vdb fixes CVE-2018-5711

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-5711/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›