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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1248-1 libgd2 security update
Debian DLA Debian DLA DLA-1651-1 libgd2 security update
EUVD EUVD EUVD-2018-17480 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.
Ubuntu USN Ubuntu USN USN-3755-1 GD vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.07172}

epss

{'score': 0.13221}


Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.04431}

epss

{'score': 0.07172}


Fri, 11 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.04317}

epss

{'score': 0.04431}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T05:40:51.271Z

Reserved: 2018-01-16T00:00:00

Link: CVE-2018-5711

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-01-16T09:29:00.577

Modified: 2024-11-21T04:09:13.310

Link: CVE-2018-5711

cve-icon Redhat

Severity : Low

Publid Date: 2017-11-25T00:00:00Z

Links: CVE-2018-5711 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses