CVE-2018-5711

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/01/2018
Last modified:
07/11/2023

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 5.6.32 (including)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 7.0.0 (including) 7.0.26 (including)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 7.1.0 (excluding) 7.1.12 (including)
cpe:2.3:a:php:php:7.2.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*