An issue was discovered in Magick++ in ImageMagick 6.9.7. A specially crafted file creating a nested exception could lead to a memory leak (thus, a DoS).
https://www.imagemagick.org/discourse-server/viewtopic.php?f=23&p=142634
https://github.com/ImageMagick/ImageMagick/commit/3358f060fc182551822576b2c0a8850faab5d543
https://bugs.debian.org/856880