Artifex MuPDF before 1.18.0 has a heap based buffer over-write in tiff_expand_colormap() function when parsing TIFF files allowing attackers to cause a denial of service.
https://lists.debian.org/debian-lts-announce/2021/09/msg00013.html
https://bugs.ghostscript.com/show_bug.cgi?id=703076
https://bugs.ghostscript.com/show_bug.cgi?id=701176
http://git.ghostscript.com/?p=mupdf.git%3Bh=b7892cdc7fae62aa57d63ae62144e1f11b5f9275