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.
{ "vanir_signatures": [ { "id": "CVE-2017-13658-59c036bf", "digest": { "length": 11829.0, "function_hash": "293712838801584744090017267013273637519" }, "source": "https://github.com/imagemagick/imagemagick/commit/e5c063a1007506ba69e97a35effcdef944421c89", "signature_version": "v1", "target": { "function": "ReadMATImage", "file": "coders/mat.c" }, "deprecated": false, "signature_type": "Function" }, { "id": "CVE-2017-13658-a57e7ea9", "digest": { "line_hashes": [ "196372200781272399580337409078976674031", "150586695525905005355183413701924109268", "10433274608074049300448930201816478828", "297997508868761914743686034058668692117" ], "threshold": 0.9 }, "source": "https://github.com/imagemagick/imagemagick/commit/e5c063a1007506ba69e97a35effcdef944421c89", "signature_version": "v1", "target": { "file": "coders/mat.c" }, "deprecated": false, "signature_type": "Line" } ] }