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

 

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

Published: December 28, 2017 / Updated: December 29, 2017


Vulnerability identifier: #VU9818
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-12877
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to use-after-free error in the DestroyImage function in image.c in ImageMagick before 7.0.6-6. A remote attacker can cause a denial of service via a specially crafted file.

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


Affected software

ImageMagick
Debian Linux

How to mitigate CVE-2017-12877

Update to version 7.0.6-6


External References

Related Security Bulletins