Integer overflow in the jpc_dec_process_siz function in libjasper/jpc/jpc_dec.c in JasPer before 1.900.13 allows remote attackers to have unspecified impact via a crafted file, which triggers an assertion failure.
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/11/16/jasper-multiple-assertion-failure | third party advisory |
http://www.securityfocus.com/bid/94374 | third party advisory vdb entry |
https://access.redhat.com/errata/RHSA-2017:1208 | vendor advisory |
https://github.com/mdadams/jasper/commit/d91198abd00fc435a397fe6bad906a4c1748e9cf | patch vendor advisory issue tracking |
http://www.openwall.com/lists/oss-security/2016/11/17/1 | third party advisory mailing list |
https://bugzilla.redhat.com/show_bug.cgi?id=1396959 | third party advisory issue tracking |
https://usn.ubuntu.com/3693-1/ | vendor advisory |