Buffer overflow in the Get8BIMProperty function in MagickCore/property.c in ImageMagick before 6.9.5-4 and 7.x before 7.0.2-6 allows remote attackers to cause a denial of service (out-of-bounds read, memory leak, and crash) via a crafted image.
https://security.gentoo.org/glsa/201611-21
https://github.com/ImageMagick/ImageMagick/commit/dd84447b63a71fa8c3f47071b09454efc667767b
https://github.com/ImageMagick/ImageMagick/blob/6.9.5-4/ChangeLog
http://www.securitytracker.com/id/1036501
http://www.securityfocus.com/bid/92186
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html