ReadOneJNGImage in coders/png.c in GraphicsMagick 1.3.26 has a use-after-free issue when the height or width is zero, related to ReadJNGImage.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-15238.json"
[ { "events": [ { "introduced": "0" }, { "last_affected": "1.3.26" } ] }, { "events": [ { "introduced": "0" }, { "last_affected": "9.0" } ] } ]