JasPer before version 2.0.12 is vulnerable to a use-after-free in the way it decodes certain JPEG 2000 image files resulting in a crash on the application using JasPer.
https://www.debian.org/security/2017/dsa-3827
https://security.gentoo.org/glsa/201707-07