#VU32206 Heap-based buffer overflow in ImageMagick - CVE-2016-5688

 

#VU32206 Heap-based buffer overflow in ImageMagick - CVE-2016-5688

Published: December 13, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32206
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2016-5688
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
ImageMagick
Software vendor:
ImageMagick.org

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set,. A remote attacker can use vectors related to the SetImageExtent return-value check to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

The vendor has issued the following versions to address this vulnerability: 6.9.4-4, 7.0.1-5.

External links