CVE-2018-20845: Divide by Zero

Published Jun 26, 2019
·
Updated

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

3 affected componentsFixes available
redhat/openjpeg<2.3.1
2.3.1
uclouvain openjpeg<=2.3.0
debian/openjpeg2
2.4.0-32.4.0-3+deb11u12.5.0-2+deb12u12.5.3-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/openjpeg to a version that resolves this vulnerability.

    Fixed in 2.3.1
  2. Upgrade

    Upgrade debian/openjpeg2 to 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
  3. Upgrade

    Upgrade openjpeg to a version that resolves this vulnerability.

    Patch c5bd64ea146162967c29bd2af0cbb845ba3eaaaf

Event History

Jun 26, 2019
CVE Published
via MITRE·05:07 PM
Data Sourced
via MITRE·05:07 PM
Description

Frequently Asked Questions

1

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.

2

How severe is the vulnerability CVE-2018-20845?

The severity of CVE-2018-20845 is medium with a CVSS score of 6.5.

3

How can the vulnerability CVE-2018-20845 be exploited?

Remote attackers can exploit CVE-2018-20845 to cause a denial of service (application crash).

4

What is the affected software of CVE-2018-20845?

The affected software includes OpenJPEG version up to and including 2.3.0.

5

How can I fix the vulnerability CVE-2018-20845?

To fix CVE-2018-20845, update OpenJPEG to version 2.3.1 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203