Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1.3.25 and earlier allows remote attackers to have unspecified impact via a colormap with a large number of entries.
http://www.securityfocus.com/bid/93464
http://www.openwall.com/lists/oss-security/2016/10/08/5