There are 634 CVE Records that match your search.
https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=imagemagick
There have been a number of zero days.
My entire interaction with Imagemagick has been removing it. Often with great difficulty because there is some odd dependency.