In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks…
Priority LOW 32CWE-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.0 · 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 vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
Why it matters now
EPSS 0.0182 78th 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 · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:uclouvain:openjpeg:2.3.0:*:*:*:*:*:*:* | 2.3.0 | Vulnerable | The OpenJPEG Project |
- cpe:2.3:a:uclouvain:openjpeg:2.3.0:*:*:*:*:*:*:* Versions 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 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-5727
- 2026-10-03 Alias added: GHSA-r7wc-c46x-5q6f
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-5727 · CVE Program
- CVE-2018-5727 · NVD
- FIRST EPSS
- GHSA-r7wc-c46x-5q6f · GitHub Advisory Database · CC BY 4.0
- CVE-2018-5727 · 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