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.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/uclouvain/openjpeg/issues/833 | patch third party advisory issue tracking |
https://security.gentoo.org/glsa/201710-26 | vendor advisory |
https://github.com/uclouvain/openjpeg/commit/da940424816e11d624362ce080bc026adffa26e8 | patch third party advisory issue tracking |
http://www.securityfocus.com/bid/100567 | vdb entry |