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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2018-5711 from the MITRE CVE dictionary dictionary and NIST NVD.
CVSS3 Base Score | 4.3 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Attack Vector | Network |
Attack Complexity | Low |
Privileges Required | None |
User Interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity Impact | None |
Availability Impact | Low |
Platform | Errata | Release Date |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-php70-php) | RHSA-2018:1296 | 2018-05-03 |
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-php70-php) | RHSA-2018:1296 | 2018-05-03 |
Platform | Package | State |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux | rh-php56-php | Will not fix |
Red Hat Software Collections for Red Hat Enterprise Linux | rh-php71-php | Affected |
Red Hat Enterprise Linux 7 | php | Will not fix |
Red Hat Enterprise Linux 6 | php | Will not fix |
Red Hat Enterprise Linux 5 | php53 | Will not fix |
Red Hat Enterprise Linux 5 | php | Will not fix |