Created jasper tracking bugs for this issue:
Affects: fedora-all [bug 1922494]
Created mingw-jasper tracking bugs for this issue:
Affects: fedora-all [bug 1922493]
Note that the fist Jasper version that crashes with the reproducer included in the upstream bug report is 2.0.20. However, the problem exists in earlier versions as well. More detailed analysis can be found in the upstream issue:
https://github.com/jasper-software/jasper/issues/269#issuecomment-804423097