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://sourceforge.net/p/djvu/bugs/298/
https://sourceforge.net/p/djvu/djvulibre-git/ci/9658b01431cd7ff6344d7787f855179e73fe81a7/
https://lists.debian.org/debian-lts-announce/2019/08/msg00036.html
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00086.html
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00087.html
https://usn.ubuntu.com/4198-1/
https://security.gentoo.org/glsa/202007-36
https://lists.debian.org/debian-lts-announce/2021/05/msg00022.html
Source: MITRE
Published: 2019-08-18
Updated: 2022-03-29
Type: CWE-125
Base Score: 4.3
Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P
Impact Score: 2.9
Exploitability Score: 8.6
Severity: MEDIUM
Base Score: 5.5
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Impact Score: 3.6
Exploitability Score: 1.8
Severity: MEDIUM