Integer overflow in OpenJPEG - CVE-2018-5785

 

Integer overflow in OpenJPEG - CVE-2018-5785

Published: August 30, 2019


Vulnerability identifier: #VU20493
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-5785
CWE-ID: CWE-190
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 integer overflow in opj_j2k_setup_encoder function (openjp2/j2k.c). A remote attacker can create a specially crafted bmp image, trigger integer overflow and crash the affected application.



Affected software

OpenJPEG
openjpeg (Alpine package)
openjpeg2 (Ubuntu package)
SUSE Linux Enterprise Module for Packagehub Subpackages
mingw-openjpeg2
openjpeg2
openjpeg2-devel
libopenjp2-7-32bit
libopenjp2-7-32bit-debuginfo
openjpeg2-debugsource
openjpeg2-debuginfo
libopenjp2-7-debuginfo
libopenjp2-7
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Desktop
openSUSE Leap
Fedora

How to mitigate CVE-2018-5785

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

openjpeg (Alpine package) - addressed in versions 2.3.0-r2, 2.3.0-r3
openjpeg2 (Ubuntu package) - update to 2.3.0-2build0.18.04.1
mingw-openjpeg2 - addressed in versions 2.3.0-4.fc27, 2.3.0-4.fc28, 2.3.0-4.fc29
openjpeg2 - addressed in versions 2.3.0-9.fc27, 2.3.0-9.fc28, 2.3.0-9.fc29
openjpeg2-devel - update to 2.3.0-150000.3.5.1
libopenjp2-7-32bit - update to 2.3.0-150000.3.5.1
libopenjp2-7-32bit-debuginfo - update to 2.3.0-150000.3.5.1
openjpeg2-debugsource - update to 2.3.0-150000.3.5.1
openjpeg2-debuginfo - update to 2.3.0-150000.3.5.1
openjpeg2 - update to 2.3.0-150000.3.5.1
libopenjp2-7-debuginfo - update to 2.3.0-150000.3.5.1
libopenjp2-7 - update to 2.3.0-150000.3.5.1

External References

Related Security Bulletins