Integer overflow in the opj_pi_create_decode function in pi.c in OpenJPEG allows remote attackers to execute arbitrary code via a crafted JP2 file, which triggers an out-of-bounds read or write.
https://github.com/uclouvain/openjpeg/pull/809
https://github.com/uclouvain/openjpeg/commit/ef01f18dfc6780b776d0674ed3e7415c6ef54d24
https://github.com/uclouvain/openjpeg/commit/c16bc057ba3f125051c9966cf1f5b68a05681de4
http://www.securityfocus.com/bid/92897
http://www.openwall.com/lists/oss-security/2016/09/08/6
http://www.openwall.com/lists/oss-security/2016/09/08/3
http://www.debian.org/security/2016/dsa-3665