DjVuLibre 3.5.27 allows attackers to cause a denial-of-service attack (application crash via an out-of-bounds read) by crafting a corrupted JB2 image file that is mishandled in JB2Dict::JB2Codec::get_direct_context in libdjvu/JB2Image.h because of a missing zero-bytes check in libdjvu/GBitmap.h.
https://www.debian.org/security/2021/dsa-5032
https://usn.ubuntu.com/4198-1/
https://sourceforge.net/p/djvu/djvulibre-git/ci/9658b01431cd7ff6344d7787f855179e73fe81a7/
https://sourceforge.net/p/djvu/bugs/298/
https://security.gentoo.org/glsa/202007-36
https://lists.debian.org/debian-lts-announce/2021/05/msg00022.html
https://lists.debian.org/debian-lts-announce/2019/08/msg00036.html
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00087.html
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00086.html