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: 1.8 [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]
CVE-ID: CVE-2019-15145
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

DjVuLibre
Gentoo Linux
Fedora
Opensuse
openEuler
djvulibre (Debian package)
djvulibre (Ubuntu package)
djvulibre
mingw-djvulibre
djvulibre-debugsource
djvulibre-debuginfo
djvulibre-devel
djvulibre-help

How to mitigate CVE-2019-15145

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

djvulibre (Debian package) - addressed in versions 3.5.27.1-10+deb10u1, 3.5.28-2
djvulibre (Ubuntu package) - addressed in versions 3.5.27.1-5ubuntu0.1, 3.5.27.1-8ubuntu0.1, 3.5.27.1-10ubuntu0.1, 3.5.27.1-13ubuntu0.1
djvulibre - addressed in versions 3.5.25.3-18.el6, 3.5.25.3-18.el7, 3.5.27-14.fc29, 3.5.27-15.fc30, 3.5.27-16.fc31
mingw-djvulibre - addressed in versions 3.5.27-7.fc30, 3.5.27-7.fc31
djvulibre-debugsource - update to 3.5.27-15
djvulibre-debuginfo - update to 3.5.27-15
djvulibre-devel - update to 3.5.27-15
djvulibre-help - update to 3.5.27-15
djvulibre - update to 3.5.27-15

External References

Related Security Bulletins