Integer overflow in the jpc_dec_tiledecode function in jpc_dec.c in JasPer before 1.900.12 allows remote attackers to have unspecified impact via a crafted image file, which triggers a heap-based buffer overflow.
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://blogs.gentoo.org/ago/2016/10/23/jasper-heap-based-buffer-overflow-in-jpc_dec_tiledecode-jpc_dec-c/ | patch vdb entry exploit third party advisory issue tracking |
https://github.com/mdadams/jasper/commit/988f8365f7d8ad8073b6786e433d34c553ecf568 | third party advisory patch |
https://access.redhat.com/errata/RHSA-2017:1208 | vendor advisory |
http://www.debian.org/security/2017/dsa-3827 | vendor advisory |
http://www.securityfocus.com/bid/93838 | vdb entry |