The output function in gd_gif_out.c in the GD Graphics Library (aka libgd) allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted image. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-6161