Versions mentioned in the description apply to the upstream
Remediation section below for
Debian:8 relevant versions.
coders/mat.c in ImageMagick 7.0.8-43 Q16 allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by crafting a Matlab image file that is mishandled in ReadImage in MagickCore/constitute.c.
imagemagick to version 8:22.214.171.124-5+deb8u18 or higher.