CVE-2018-20846 json
Out-of-bounds accesses in the functions pi_next_lrcp, pi_next_rlcp, pi_next_rpcl, pi_next_pcrl, pi_next_rpcl, and pi_next_cprl in openmj2/p…
published 2019-06-26 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-13386
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
Out-of-bounds accesses in the functions pi_next_lrcp, pi_next_rlcp, pi_next_rpcl, pi_next_pcrl, pi_next_rpcl, and pi_next_cprl in openmj2/pi.c in OpenJPEG through 2.3.0 allow remote attackers to cause a denial of service (application crash).
Patch / fix
- openjpeg2 Debian 14, Debian 13, Debian 12 2.3.1-1
debian advisories DEBIAN-CVE-2018-20846
- openjpeg SLES for SAP 15, SLES 15-LTSS, SLES 15 SP2-BCL +9 more 1.5.2-150000.4.10.1
- openjpeg2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +21 more 2.3.0-150000.3.8.1
- openjpeg2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +10 more 2.1.0-4.15.1
suse advisories SUSE-SU-2022:4082-1SUSE-SU-2022:3802-1SUSE-SU-2022:1129-1
- openjpeg2 Arch Linux 2.5.0-1
arch linux advisories AVG-1390
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-20846 updated cvss 6.5
openjpeg: out-of-bounds read in functions pi_next_lrcp, pi_next_rlcp, pi_next_rpcl, pi_next_pcrl, pi_next_rpcl, and pi_next_cprl in openmj2/pi.c leads to denial of service
-
Red Hat Enterprise Linux 6 openjpeg, openjpeg-libsaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 openjpeg, openjpeg2, openjpeg-libs, openjpeg2-tools Red Hat Enterprise Linux 8 openjpeg2, openjpeg2-toolsaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.17% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/uclouvain/openjpeg/pull/1168/commits/c277159986c80142180fbe5efb256bbf3bdf3edc
patch
-
securityfocus.com
/bid/108921
vdb-entry, broken-link, third-party-advisory
Sources
- CVE List CVE-2018-20846
- NVD CVE-2018-20846
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.