MuPDF is vulnerable to remote code execution (RCE) attacks. A malicious user can pass a malicious pdf file to the pdf_lookup_cmap_full
function in pdf-cmap.c
to cause a stack buffer overflow that can lead to arbitrary code being executed.
git.ghostscript.com/?p=mupdf.git;a=commitdiff;h=71ceebcf56e682504da22c4035b39a2d451e8ffd;hp=7f82c01523505052615492f8e220f4348ba46995
git.ghostscript.com/?p=mupdf.git;a=commitdiff;h=f597300439e62f5e921f0d7b1e880b5c1a1f1607;hp=093fc3b098dc5fadef5d8ad4b225db9fb124758b
bugs.chromium.org/p/oss-fuzz/issues/detail?id=5494
bugzilla.redhat.com/show_bug.cgi?id=1582313