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 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-681 | Incorrect Conversion between Numeric Types | [email protected] |
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | <= 5.6.32 >= 7.0.0, <= 7.0.26 > 7.1.0, <= 7.1.12 7.2.0 |
CPE
Remediation
| |
| debian debian linux | 7.0 8.0 |
CPE
Remediation
| |
| canonical ubuntu linux | 14.04 16.04 18.04 |
CPE
Remediation
| |
Change History
16 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Apr 15, 2020 | CVE Modified | [email protected] |
| Mar 31, 2020 | CVE Modified | [email protected] |
| Oct 3, 2019 | CWE Remap | [email protected] |
| Aug 19, 2019 | CVE Modified | [email protected] |
| Apr 3, 2019 | Modified Analysis | [email protected] |
| Mar 28, 2019 | CVE Modified | [email protected] |
| Mar 5, 2019 | Modified Analysis | [email protected] |
| Jan 31, 2019 | CVE Modified | [email protected] |
| Aug 28, 2018 | CVE Modified | [email protected] |
| May 4, 2018 | CVE Modified | [email protected] |
| Feb 5, 2018 | Initial Analysis | [email protected] |
| Feb 4, 2018 | CVE Modified | [email protected] |