NetSight
medium5.5

CVE-2018-5711

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 inte…

Impact

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.

Affected products

VendorProductAffected versions
PhpPhp
through 5.6.32
from 7.0.0 through 7.0.26
after 7.1.0 through 7.1.12
Version 7.2.0
DebianDebian Linux
Versions 7.0, 8.0
CanonicalUbuntu Linux
Versions 14.04, 16.04, 18.04

Weakness classification

References