jp2_decode in jp2/jp2_dec.c in libjasper in JasPer 2.0.24 has a heap-based buffer over-read when there is an invalid relationship between the number of channels and the number of image components.
Reference Links(if available):
CVSS Score (if available)
v2: / MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:P
v3: / HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H