Heap-based buffer overflow in ImageMagick - CVE-2017-5508

 

Heap-based buffer overflow in ImageMagick - CVE-2017-5508

Published: May 29, 2017


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

Detailed vulnerability description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in the PushQuantumPixel function due to heap-based buffer overflow when handling malicious TIFF files. A remote attacker can create a specially crafted TIFF file, trick the victim into opening it, trigger memory corruption and cause the application to crash.

Successful exploitation of the vulnerability results in denial of service.
 

How to mitigate CVE-2017-5508

Update to version 6.9.7-3 or 7.0.4-3.

Sources