Divide-by-zero in OpenJPEG - CVE-2018-14423
Published: July 23, 2018 / Updated: January 3, 2021
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists due to multiple division-by-zero conditions that exist in the pi_next_pcrl, pi_next_cprl, and pi_next_rpcl functions, as defined in the lib/openjp3d/pi.c source code file. A remote attacker can trick the victim into opening a specially crafted file with an application that uses the affected library and cause the affected application to crash.
Affected software
openjpeg (Alpine package)
openjpeg2 (Ubuntu package)
SUSE Linux Enterprise Module for Packagehub Subpackages
libopenjpeg1-32bit-debuginfo
libopenjpeg1-debuginfo
libopenjpeg1
openjpeg
openjpeg-debuginfo
openjpeg-debugsource
openjpeg-devel
libopenjpeg1-32bit
openjpeg-devel-32bit
openjpeg2-debugsource
openjpeg2-debuginfo
libopenjp2-7-debuginfo
libopenjp2-7
openjpeg2-devel
libopenjp2-7-32bit-debuginfo
libopenjp2-7-32bit
openjpeg2
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Fedora
HPE Helion Openstack
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Desktop
openSUSE Leap
How to mitigate CVE-2018-14423
openjpeg2 (Ubuntu package) - update to 2.3.0-2build0.18.04.1
libopenjpeg1-32bit-debuginfo - update to 1.5.2-150000.4.5.1
libopenjpeg1-debuginfo - update to 1.5.2-150000.4.5.1
libopenjpeg1 - update to 1.5.2-150000.4.5.1
openjpeg - update to 1.5.2-150000.4.5.1
openjpeg-debuginfo - update to 1.5.2-150000.4.5.1
openjpeg-debugsource - update to 1.5.2-150000.4.5.1
openjpeg-devel - update to 1.5.2-150000.4.5.1
libopenjpeg1-32bit - update to 1.5.2-150000.4.5.1
openjpeg-devel-32bit - update to 1.5.2-150000.4.5.1
openjpeg2-debugsource - addressed in versions 2.1.0-4.15.1, 2.3.0-150000.3.5.1
openjpeg2-debuginfo - addressed in versions 2.1.0-4.15.1, 2.3.0-150000.3.5.1
libopenjp2-7-debuginfo - addressed in versions 2.1.0-4.15.1, 2.3.0-150000.3.5.1
libopenjp2-7 - addressed in versions 2.1.0-4.15.1, 2.3.0-150000.3.5.1
openjpeg2-devel - update to 2.3.0-150000.3.5.1
libopenjp2-7-32bit-debuginfo - update to 2.3.0-150000.3.5.1
libopenjp2-7-32bit - update to 2.3.0-150000.3.5.1
openjpeg2 - update to 2.3.0-150000.3.5.1
openjpeg2 - update to 2.3.1-1.el7