Division-by-zero vulnerabilities in the functions pi_next_pcrl, pi_next_cprl, and…
Priority LOW 33CWE-369Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-369.
Summary
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).
Why it matters now
EPSS 0.02347 83rd percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 2 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:* | up to 2.3.0 | Vulnerable | The OpenJPEG Project |
- cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:* Versions up to 2.3.0 Vulnerable ·The OpenJPEG Project
Remediation
Red Hat 1 advisory
- RHSA-2021:4251 Released 2021-11-09 · Red Hat rating Moderateopenjpeg2 security update
- Red Hat CodeReady Linux Builder (v. 8) openjpeg2-devel-2.4.0-4.el8, openjpeg2-tools-2.4.0-4.el8
- Red Hat Enterprise Linux AppStream (v. 8) openjpeg2-2.4.0-4.el8, openjpeg2-devel-docs-2.4.0-4.el8, openjpeg2-tools-2.4.0-4.el8
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2021:4251 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:4251 |
Not affected: 1 product
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2018-20845
- 2026-10-03 Alias added: GHSA-mq6f-3mw5-jg7g
References
More The OpenJPEG Project Openjpeg vulnerabilities
- TI-2025-34608 OpenJPEG allows OOB heap memory write in opj_jp2_read_header CVSS 4.0MEDIUM 6.6
- TI-2025-32278 openjpeg v 2.5.0 was discovered to contain a NULL pointer dereference via the component /openjp2/dwt.c. CVSS 3.1MEDIUM 6.5
- TI-2012-02889 Multiple heap-based buffer overflows in the j2k_read_sot function in j2k.c in OpenJPEG… CVSS 2.0HIGH 10.0
- TI-2017-12771 In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume… CVSS 3.1CRITICAL 9.8
- TI-2017-12770 In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage… CVSS 3.0CRITICAL 9.8
- TI-2015-07301 Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2018-20845 · CVE Program
- CVE-2018-20845 · NVD
- FIRST EPSS
- GHSA-mq6f-3mw5-jg7g · GitHub Advisory Database · CC BY 4.0
- CVE-2018-20845 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences