Reachable Assertion in ImageMagick - CVE-2017-13658

 

Reachable Assertion in ImageMagick - CVE-2017-13658

Published: August 24, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU38429
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-13658
CWE-ID: CWE-617
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ImageMagick.org
Affected software:
ImageMagick

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

In ImageMagick before 6.9.9-3 and 7.x before 7.0.6-3, there is a missing NULL check in the ReadMATImage function in coders/mat.c, leading to a denial of service (assertion failure and application exit) in the DestroyImageInfo function in MagickCore/image.c.


How to mitigate CVE-2017-13658

Install update from vendor's website.

Sources