Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.
https://security.gentoo.org/glsa/201710-26
https://github.com/uclouvain/openjpeg/issues/833
https://github.com/uclouvain/openjpeg/commit/da940424816e11d624362ce080bc026adffa26e8