CVE & CISA-KEV Catalog

CVE-2018-20845

MEDIUMEPSS 83th pctl
6.5
CVSS v3
NVD

Description

Division-by-zero vulnerabilities in the functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in openmj2/pi.c in OpenJPEG through 2.3.0 allow remote attackers to cause a denial of service (application crash).

How to fix

Remediation Available
openjpeg2Amazon
Fixed in:0:2.4.0-4.amzn2
Fixed in:0:2.4.0-4.amzn2
Fixed in:0:2.4.0-4.amzn2
openjpeg2-debuginfoAmazon
Fixed in:0:2.4.0-4.amzn2
Fixed in:0:2.4.0-4.amzn2
Fixed in:0:2.4.0-4.amzn2
openjpeg2-develAmazon
Fixed in:0:2.4.0-4.amzn2
Fixed in:0:2.4.0-4.amzn2
Fixed in:0:2.4.0-4.amzn2
openjpeg2-devel-docsAmazon
Fixed in:0:2.4.0-4.amzn2
openjpeg2-toolsAmazon
Fixed in:0:2.4.0-4.amzn2
Fixed in:0:2.4.0-4.amzn2
Fixed in:0:2.4.0-4.amzn2
openjpeg2Debian
Fixed in:2.3.1-1CVE-2018-20845
Fixed in:2.3.1-1CVE-2018-20845
Fixed in:2.3.1-1CVE-2018-20845
libopenjp2-7Ubuntu
Fixed in:2.1.2-1.1+deb9u6ubuntu0.1~esm1USN-4782-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:2.3.0-2ubuntu0.1~esm1USN-4782-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

openjpeg2Ubuntu
Fixed in:2.1.2-1.1+deb9u6ubuntu0.1~esm1USN-4782-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:2.3.0-2ubuntu0.1~esm1USN-4782-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploit Intelligence

2.35%probability of exploitation in 30 days
83rdpercentile

Elevated risk: more likely to be exploited than 83% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-369 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2012-0207High7.520%-Fix
CVE-2017-8537Medium5.517%--
CVE-2017-8536Medium5.517%--
CVE-2017-8535Medium5.517%--
CVE-2007-2237Medium5.515%--
CVE-2025-0317High7.514%--

Common questions

How do I fix CVE-2018-20845?

Published advisories record a fix for 8 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2018-20845 being actively exploited?

Not that we know of. CVE-2018-20845 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.3% is the estimated probability that it will be exploited in the next 30 days. That is higher than 83% of all scored CVEs.

How severe is CVE-2018-20845?

CVE-2018-20845 has a CVSS v3 base score of 6.5, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2018-20845 affect?

Published advisories record a fix for openjpeg2 (Amazon), openjpeg2-debuginfo (Amazon), openjpeg2-devel (Amazon), openjpeg2-devel-docs (Amazon), and 4 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2018-20845
CVE-2018-20845 severity badge

Markdown

[![CVE-2018-20845](https://tridentstack.com/cve/badge/CVE-2018-20845.svg)](https://tridentstack.com/cve/CVE-2018-20845)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-20845"><img src="https://tridentstack.com/cve/badge/CVE-2018-20845.svg" alt="CVE-2018-20845"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.