JasPer 2.0.12 is vulnerable to a NULL pointer exception in the function jp2_encode which failed to check to see if the image contained at least one component resulting in a denial-of-service.
https://usn.ubuntu.com/3693-1/
https://security.gentoo.org/glsa/201908-03
https://access.redhat.com/errata/RHSA-2018:3253