CVE-2018-5711
MEDIUM5.5EPSS 10.3%libgd2 - security update
Published: 1/16/2018Modified: 4/28/2026
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.
Affected packages (4)
- Alpine/gdfrom 0, < 2.2.5-r2
- Alpine/php5from 0, < 5.6.33-r0
- Debian/libgd2from 0, < 2.2.5-4.1
- Debian/libgd2from 0, < 2.0.36~rc1~dfsg-6.1+deb7u11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |