Bug 1767867 (CVE-2019-15144)

Summary: CVE-2019-15144 djvulibre: recursive call to GArrayTemplate<Run>::sort in GContainer.h leads to stack overflow
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: brian, manisandro, mkasik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1767868, 1767869, 1767870, 1767871    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2019-11-01 14:52:59 UTC
In DjVuLibre 3.5.27, the sorting functionality (aka GArrayTemplate<TYPE>::sort) allows attackers to cause a denial-of-service (application crash due to an Uncontrolled Recursion) by crafting a PBM image file that is mishandled in libdjvu/GContainer.h.

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

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

Comment 1 Guilherme de Almeida Suckevicz 2019-11-01 14:53:34 UTC
Created djvulibre tracking bugs for this issue:

Affects: epel-6 [bug 1767870]
Affects: epel-7 [bug 1767871]
Affects: fedora-all [bug 1767868]


Created mingw-djvulibre tracking bugs for this issue:

Affects: fedora-all [bug 1767869]