CVE-2018-5711

gd: Infinite loop in gdImageCreateFromGifCtx() in gd_gif_in.c

Published Jan 16, 2018 CVSS 3.0 · 5.5 Medium EPSS 13.2% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History
Type Values Removed Values Added
Metrics epss

{'score': 0.07172}

epss

{'score': 0.13221}

Type Values Removed Values Added
Metrics epss

{'score': 0.04431}

epss

{'score': 0.07172}

Type Values Removed Values Added
Metrics epss

{'score': 0.04317}

epss

{'score': 0.04431}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 5:40 AM
Reserved
Jan 16, 2018, 12:00 AM
Status
Modified
Published
Jan 16, 2018, 9:29 AM
Modified
Jun 17, 2026, 2:00 AM
Severity
Low
Public date
Nov 25, 2017, 12:00 AM