Heap overflow in the WaveletDenoiseImage function in MagickCore/fx.c in ImageMagick before 6.9.6-4 and 7.x before 7.0.3-6 allows remote attackers to cause a denial of service (crash) via a crafted image.
https://security.gentoo.org/glsa/201702-09
https://github.com/ImageMagick/ImageMagick/issues/296
https://github.com/ImageMagick/ImageMagick/commit/3cbfb163cff9e5b8cdeace8312e9bfee810ed02b
http://www.securityfocus.com/bid/94310