Double free vulnerability in the mem_close function in jas_stream.c in JasPer before 1.900.10 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted BMP image to the imginfo command.
http://www.securityfocus.com/bid/93587
http://www.openwall.com/lists/oss-security/2016/10/16/14
http://www.openwall.com/lists/oss-security/2016/08/23/6
http://lists.opensuse.org/opensuse-updates/2016-11/msg00010.html
https://github.com/mdadams/jasper/commit/44a524e367597af58d6265ae2014468b334d0309
https://euvd.enisa.europa.eu/vulnerability/EUVD-2016-9532
https://bugzilla.redhat.com/show_bug.cgi?id=1385507
https://blogs.gentoo.org/ago/2016/10/16/jasper-double-free-in-mem_close-jas_stream-c/