#VU224 An out-of-bounds access erorr in imagegif/output in PHP - CVE-2016-5095 

 

#VU224 An out-of-bounds access erorr in imagegif/output in PHP - CVE-2016-5095

Published: July 27, 2016 / Updated: August 13, 2016


Vulnerability identifier: #VU224
Vulnerability risk: Low
CVSSv4.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-2016-5095
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
PHP
Software vendor:
PHP Group

Description

The vulnerability allows a remote attacker to cause information disclosure.

The vulnerability exists due to error in imagegif/output function in gd_gif_out.c file that causes out-of-bounds read of the masks array when ctx->cur_bits becomes a negative number. A remote unauthenticated attacker can cause an out-of-bounds access erorr in imagegif/output.

Successful exploitation of this vulnerability may result in information disclosure.

Remediation

Install the latest versions: (5.5.38, 5.6.24, 7.0.9).

External links