Out-of-bounds read in PHP - CVE-2017-7890

 

Out-of-bounds read in PHP - CVE-2017-7890

Published: July 6, 2017


Vulnerability identifier: #VU7355
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-7890
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

The vulnerability allows a remote attacker to obtain potentially sensitive information.

The weakness exists due to out-of-bounds read in GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.cwddx_deserialize(). A remote attacker can use a specially crafted GIF image with the smallest global color table of size 2 and read arbitrary files one system.

Successful exploitation of the vulnerability results in information disclosure.

How to mitigate CVE-2017-7890

Update to version 7.0.21.

Sources