The tcd_free_encode function in tcd.c in OpenJPEG 1.3 through 1.5 allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted tile information in a Gray16 TIFF image, which causes insufficient memory to be allocated and leads to an "invalid free."
https://groups.google.com/forum/#%21topic/openjpeg/DLVrRKbTeI0/discussion
https://exchange.xforce.ibmcloud.com/vulnerabilities/74851
http://www.securityfocus.com/bid/53012
http://www.openwall.com/lists/oss-security/2012/04/13/5
http://www.mandriva.com/security/advisories?name=MDVSA-2012:104
http://secunia.com/advisories/49913
http://secunia.com/advisories/48781
http://rhn.redhat.com/errata/RHSA-2012-1068.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/083105.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082923.html