CVE-2017-13658: ImageMagick

Medium severity, CVSS 6.5. EPSS: 1.3% chance of exploitation in the next 30 days.

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.

Affected products

  • ImageMagick ImageMagick: up to and including 6.9.9-2; version 7.0.1-0 only; version 7.0.1-1 only; version 7.0.1-2 only; version 7.0.1-3 only; version 7.0.1-4 only; …

Published 2017-08-24. Last modified 2026-06-17.