NULL pointer dereference vulnerabilities in the imagetopnm function in convert.c, sycc444_to_rgb function in color.c, color_esycc_to_rgb function in color.c, and sycc422_to_rgb function in color.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.
https://security.gentoo.org/glsa/201710-26
https://github.com/uclouvain/openjpeg/issues/792
https://github.com/uclouvain/openjpeg/issues/785