Bug 1767920 (CVE-2019-15145) - CVE-2019-15145 djvulibre: out-of-bounds read in JB2Dict::JB2Codec::get_direct_context in libdjvu/JB2Image.h
Summary: CVE-2019-15145 djvulibre: out-of-bounds read in JB2Dict::JB2Codec::get_direct...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-15145
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1767921 1767922 1767923 1767924
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-01 16:41 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-10-27 10:50 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-27 10:50:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-11-01 16:41:51 UTC
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.

Reference:
https://sourceforge.net/p/djvu/bugs/298/

Upstream commit:
https://sourceforge.net/p/djvu/djvulibre-git/ci/9658b01431cd7ff6344d7787f855179e73fe81a7/

Comment 1 Guilherme de Almeida Suckevicz 2019-11-01 16:42:12 UTC
Created djvulibre tracking bugs for this issue:

Affects: epel-6 [bug 1767923]
Affects: epel-7 [bug 1767924]
Affects: fedora-all [bug 1767921]


Created mingw-djvulibre tracking bugs for this issue:

Affects: fedora-all [bug 1767922]


Note You need to log in before you can comment on or make changes to this bug.