In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in…
Priority LOW 33CWE-190Published · 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
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
Why it matters now
EPSS 0.02331 83rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 1 advisory
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 · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:uclouvain:openjpeg:2.3.0:*:*:*:*:*:*:* | 2.3.0 | Vulnerable | The OpenJPEG Project |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
- cpe:2.3:a:uclouvain:openjpeg:2.3.0:*:*:*:*:*:*:* Versions 2.3.0 Vulnerable ·The OpenJPEG Project
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
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 CodeReady Linux Builder (v. 8) | Fixed | RHSA-2021:4251 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:4251 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-5785
- 2026-10-03 Alias added: GHSA-7pgc-fq24-w5rr
References
Advisory 2
Sources
- CVE-2018-5785 · CVE Program
- CVE-2018-5785 · NVD
- FIRST EPSS
- GHSA-7pgc-fq24-w5rr · GitHub Advisory Database · CC BY 4.0
- CVE-2018-5785 · 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