In ImageMagick 7.0.6-6, a memory leak vulnerability was found in the function WriteOneJNGImage in coders/png.c, which allows attackers to cause a denial of service (WriteJNGImage memory consumption) via a crafted file.
https://usn.ubuntu.com/3681-1/
https://security.gentoo.org/glsa/201711-07