According to the announcement on oss-security: imagemagick identify suffers of a global buffer overflow issue, which I reported and has been patched, you can find a reproducer in the github bug tracker issue link issue: https://github.com/ImageMagick/ImageMagick/issues/280 patch: https://github.com/ImageMagick/ImageMagick/commit/a7bb158b7bedd1449a34432feb3a67c8f1873bfa
Here is the patch for =media-gfx/imagemagick-6.9.5.10 >=media-gfx/imagemagick-6.9.6.1 have the patch included already.
Created attachment 449830 [details, diff] patch for media-gfx/imagemagick-6.9.5.10
After further discussion with one of the package maintainers they intend to stabilize >=media-gfx/imagemagick-6.9.6.2
This issue was resolved and addressed in GLSA 201611-21 at https://security.gentoo.org/glsa/201611-21 by GLSA coordinator Aaron Bauman (b-man).