The WPG format reader in GraphicsMagick 1.3.25 and earlier allows remote attackers to cause a denial of service (assertion failure and crash) via vectors related to a ReferenceBlob and a NULL pointer.
http://www.securityfocus.com/bid/93467
http://www.openwall.com/lists/oss-security/2016/10/08/5