The issue is related to the DecodeGifImg function in ngiflib.c, which lacks checks against width and height. This allows remote attackers to cause a denial of service, resulting in a WritePixels heap-based buffer overflow and application crash, or possibly have other unspecified impacts via a crafted GIF file.