The get_cox function in libavcodec/jpeg2000dec.c in FFmpeg before 2.1 does not properly validate the reduction factor, which allows remote attackers to cause a denial of service (out-of-bounds array access) or possibly have unspecified other impact via crafted JPEG2000 data.
https://trac.ffmpeg.org/ticket/2898
https://security.gentoo.org/glsa/201603-06
https://github.com/FFmpeg/FFmpeg/commit/a1b9004b768bef606ee98d417bceb9392ceb788d
https://euvd.enisa.europa.eu/vulnerability/EUVD-2013-6820
http://openwall.com/lists/oss-security/2013/12/08/3