Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2018-5711 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
http://php.net/ChangeLog-5.php CVERelease NotesVendor Advisory
http://php.net/ChangeLog-7.php CVERelease NotesVendor Advisory
https://access.redhat.com/errata/RHSA-2018:1296 CVEThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:2519 CVE
https://bugs.php.net/bug.php?id=75571 CVEPatchVendor Advisory

see all 22 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-681Incorrect Conversion between Numeric Types[email protected]
CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')[email protected]

Affected Products

ProductVersions
php php
<= 5.6.32
>= 7.0.0, <= 7.0.26
> 7.1.0, <= 7.1.12
7.2.0

CPE

  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.2.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
7.0
8.0

CPE

  • cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
canonical ubuntu linux
14.04
16.04
18.04

CPE

  • 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:*:*:*

Remediation

  • No remediation found in references.

Change History

16 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2018-5711
NVD Published Date:
Jan 16, 2018
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]