In ImageMagick 7.0.5-5, the ReadJNGImage function in png.c allows attackers to cause a denial of service (memory leak) via a crafted file. https://nvd.nist.gov/vuln/detail/CVE-2017-8350