Use-after-free in ImageMagick - CVE-2017-17499

 

Use-after-free in ImageMagick - CVE-2017-17499

Published: December 28, 2017 / Updated: January 2, 2018


Vulnerability identifier: #VU9830
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-17499
CWE-ID: CWE-416
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 execute arbitrary code on the target system.

The vulnerability exists due to use-after-free error in Magick::Image::read in Magick++/lib/Image.cpp. A remote attacker can create create a specially crafted media file, trick the victim into opening it, and execute arbitrary code on the target system.

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


How to mitigate CVE-2017-17499

The vendor has issued the following versions to address this vulnerability: 6.9.9-24, 7.0.7-12.

Sources