General consensus so far seems to be that GraphicsMagick is unaffected by this vulnerability.
If security is really important to you though, you should move image processing to separate isolated servers anyway, and verify magic bytes as described by this site.
If security is really important to you though, you should move image processing to separate isolated servers anyway, and verify magic bytes as described by this site.