Security mailing lists by PureSourceCode

CVE-2018-5711

MEDIUM 5.5CVSS 3.0

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.

Published
16 Jan 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-681
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
<= 5.6.32
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.0.0, <= 7.0.26
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
> 7.1.0, <= 7.1.12
NVD php php
cpe:2.3:a:php:php:7.2.0:*:*:*:*:*:*:*
= 7.2.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 16 Jan 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.