Out-of-bounds read in DjVuLibre - CVE-2019-15145

 

Out-of-bounds read in DjVuLibre - CVE-2019-15145

Published: September 30, 2019


Vulnerability identifier: #VU21453
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2019-15145
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: DjVu
Affected software:
DjVuLibre

Detailed vulnerability description

The vulnerability allows a remote attacker to perform denial of service (DoS) attack.

The vulnerability exists due to a boundary condition in the JB2Dict::JB2Codec::get_direct_context in libdjvu/JB2Image.h within DjVuLibre due to a missing zero-bytes check in libdjvu/GBitmap.h. A remote attacker can create a specially crafted JB2 file, trick the victim into opening it, trigger out-of-bounds read error and crash the application.


How to mitigate CVE-2019-15145

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources