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.
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5358.json"