CVE-2018-5711 - CVE House
Back to Database
Status published Medium CVE-2018-5711

gd_gif_in.c in the GD Graphics Library (aka libgd), as used...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2018-5711

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

php, debian linux, ubuntu linux
Vulnerable Versions:
0, 7.0.0, 7.1.0, 7.2.0, 7.0, 8.0, 14.04, 16.04, 18.04

Timeline

Official Publish: January 16th, 2018
Last Modified: August 5th, 2024
Added to House: July 20th, 2026

CVSS Vectors

V3: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.