Infinite loop in OpenJPEG - CVE-2019-12973

 

Infinite loop in OpenJPEG - CVE-2019-12973

Published: October 1, 2019 / Updated: December 29, 2020


Vulnerability identifier: #VU21456
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-12973
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c in Open JPEG. A remote attacker can create a specially crafted .bmp file, pass it to the affected application and perform denial of service (DoS) attack.


Affected software

OpenJPEG
Gentoo Linux
Opensuse
openEuler
openjpeg (Alpine package)
openjpeg2
openjpeg2-debugsource
openjpeg2-devel
openjpeg2-debuginfo
openjpeg2-help

How to mitigate CVE-2019-12973

Install updates from vendor's website.

OpenJPEG - update to 2.4.0
openjpeg (Alpine package) - update to 2.3.1-r5
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