Improper input validation in OpenJPEG - CVE-2018-6616
Published: April 3, 2018 / Updated: January 3, 2021
Vulnerability identifier: #VU11479
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-6616
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local unauthenticated attacker to cause DoS condition on the target system.
The weakness exists in the opj_t1_encode_cblks function, which is defined in the openjp2/t1.c source code file, due to insufficient validation of user-supplied input. A local attacker can submit a specially crafted BMP file and cause the service to crash.
The weakness exists in the opj_t1_encode_cblks function, which is defined in the openjp2/t1.c source code file, due to insufficient validation of user-supplied input. A local attacker can submit a specially crafted BMP file and cause the service to crash.
Affected software
OpenJPEG
openjpeg (Alpine package)
openjpeg2 (Ubuntu package)
SUSE Linux Enterprise Module for Packagehub Subpackages
mingw-openjpeg2
openjpeg2
libopenjp2-7-32bit
libopenjp2-7-32bit-debuginfo
openjpeg2-devel
openjpeg2-debugsource
openjpeg2-debuginfo
libopenjp2-7-debuginfo
libopenjp2-7
openjpeg2 (Red Hat package)
openjpeg2-help
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Fedora
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
openEuler
openjpeg (Alpine package)
openjpeg2 (Ubuntu package)
SUSE Linux Enterprise Module for Packagehub Subpackages
mingw-openjpeg2
openjpeg2
libopenjp2-7-32bit
libopenjp2-7-32bit-debuginfo
openjpeg2-devel
openjpeg2-debugsource
openjpeg2-debuginfo
libopenjp2-7-debuginfo
libopenjp2-7
openjpeg2 (Red Hat package)
openjpeg2-help
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Fedora
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
openEuler
How to mitigate CVE-2018-6616
Install update from vendor's website.
openjpeg (Alpine package) - update to 2.3.0-r1
openjpeg2 (Ubuntu package) - update to 2.3.0-2build0.18.04.1
mingw-openjpeg2 - addressed in versions 2.3.0-6.fc28, 2.3.0-6.fc29
openjpeg2 - addressed in versions 2.3.0-10.fc28, 2.3.0-10.fc29, 2.3.1-1.el7
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-devel - 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
openjpeg2 (Red Hat package) - addressed in versions 2.3.1-1.el7, 2.3.1-1.el8
openjpeg2 - update to 2.3.1-9
openjpeg2-debugsource - update to 2.3.1-9
openjpeg2-devel - update to 2.3.1-9
openjpeg2-debuginfo - update to 2.3.1-9
openjpeg2-help - update to 2.3.1-9
openjpeg2 (Ubuntu package) - update to 2.3.0-2build0.18.04.1
mingw-openjpeg2 - addressed in versions 2.3.0-6.fc28, 2.3.0-6.fc29
openjpeg2 - addressed in versions 2.3.0-10.fc28, 2.3.0-10.fc29, 2.3.1-1.el7
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-devel - 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
openjpeg2 (Red Hat package) - addressed in versions 2.3.1-1.el7, 2.3.1-1.el8
openjpeg2 - update to 2.3.1-9
openjpeg2-debugsource - update to 2.3.1-9
openjpeg2-devel - update to 2.3.1-9
openjpeg2-debuginfo - update to 2.3.1-9
openjpeg2-help - update to 2.3.1-9
External References
Related Security Bulletins
- Denial of service in OpenJPEG
- Ubuntu update for OpenJPEG
- Improper input validation in openjpeg (Alpine package)
- Red Hat Enterprise Linux 7 update for openjpeg2
- Red Hat Enterprise Linux 8 update for openjpeg2
- SUSE update for openjpeg2
- openEuler update for openjpeg2
- Fedora 29 update for mingw-openjpeg2, openjpeg2
- Fedora 28 update for mingw-openjpeg2, openjpeg2
- Fedora EPEL 7 update for openjpeg2