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.
Upstream issue:
https://github.com/jasper-software/jasper/issues/259
Created jasper tracking bugs for this issue:
Affects: fedora-all [bug 1921328]
Created mingw-jasper tracking bugs for this issue:
Affects: fedora-all [bug 1921326]