Multiple off-by-one errors in the (1) jpc_dec_cp_setfromcox and (2) jpc_dec_cp_setfromrgn functions in jpc/jpc_dec.c in JasPer 1.900.1 and earlier allow remote attackers to execute arbitrary code via a crafted jp2 file, which triggers a heap-based buffer overflow.
https://exchange.xforce.ibmcloud.com/vulnerabilities/99125
https://bugzilla.redhat.com/show_bug.cgi?id=1167537
http://www.ubuntu.com/usn/USN-2434-2
http://www.ubuntu.com/usn/USN-2434-1
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.538606
http://www.securityfocus.com/bid/71476
http://www.securityfocus.com/archive/1/534153/100/0/threaded
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
http://www.openwall.com/lists/oss-security/2014/12/04/9
http://www.ocert.org/advisories/ocert-2014-009.html
http://www.mandriva.com/security/advisories?name=MDVSA-2015:159
http://www.mandriva.com/security/advisories?name=MDVSA-2014:247
http://www.debian.org/security/2014/dsa-3089
http://secunia.com/advisories/62828
http://secunia.com/advisories/61747
http://rhn.redhat.com/errata/RHSA-2015-0698.html
http://rhn.redhat.com/errata/RHSA-2014-2021.html
http://packetstormsecurity.com/files/129393/JasPer-1.900.1-Buffer-Overflow.html