An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer 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://github.com/uclouvain/openjpeg/pull/1168/commits/c58df149900df862806d0e892859b41115875845 | patch |
https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949 | patch |
https://github.com/uclouvain/openjpeg/issues/431 | issue tracking third party advisory patch |
http://www.securityfocus.com/bid/108921 | vdb entry third party advisory broken link |
https://lists.debian.org/debian-lts-announce/2019/07/msg00010.html | issue tracking mailing list third party advisory |