ImageMagick 7.0.7-22 Q16 has memory leaks in the EncodeImageAttributes function in coders/json.c, as demonstrated by the ReadPSDLayersInternal function in coders/psd.c. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-5358 https://github.com/ImageMagick/ImageMagick/issues/939
Created ImageMagick tracking bugs for this issue: Affects: fedora-all [bug 1534381]
According to upstream changelog, the support for json coder was added in version 6.8.8-3.