Heap-based buffer overflow in giffix.c in giffix in giflib 5.1.1 allows attackers to cause a denial of service (program crash) via crafted image and logical screen width fields in a GIF file.
https://source.android.com/security/bulletin/2017-05-01
http://www.securitytracker.com/id/1035331
http://www.securityfocus.com/bid/81697
http://www.securityfocus.com/archive/1/537171/100/0/threaded
http://www-01.ibm.com/support/docview.wss?uid=isg3T1023474
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/174876.html