CVE-2018-20845: Divide by Zero
Division-by-zero vulnerabilities in the functions pinextpcrl, pinextcprl, and pinextrpcl in openmj2/pi.c in OpenJPEG through 2.3.0 allow remote attackers to cause a denial of service (application crash).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/openjpegto a version that resolves this vulnerability.Fixed in 2.3.1 - Upgrade
Upgrade
debian/openjpeg2to a version that resolves this vulnerability.Fixed in 2.4.0-3Fixed in 2.4.0-3+deb11u1Fixed in 2.5.0-2+deb12u1Fixed in 2.5.3-2 - Upgrade
Upgrade
openjpegto a version that resolves this vulnerability.Patch c5bd64ea146162967c29bd2af0cbb845ba3eaaaf
Event History
Frequently Asked Questions
What is the vulnerability CVE-2018-20845?
CVE-2018-20845 is a division-by-zero vulnerability in the functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in OpenJPEG through version 2.3.0.
How severe is the vulnerability CVE-2018-20845?
The severity of CVE-2018-20845 is medium with a CVSS score of 6.5.
How can the vulnerability CVE-2018-20845 be exploited?
Remote attackers can exploit CVE-2018-20845 to cause a denial of service (application crash).
What is the affected software of CVE-2018-20845?
The affected software includes OpenJPEG version up to and including 2.3.0.
How can I fix the vulnerability CVE-2018-20845?
To fix CVE-2018-20845, update OpenJPEG to version 2.3.1 or later.