An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function…
Priority MEDIUM 43CWE-190Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.
Why it matters now
EPSS 0.02343 83rd percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 2 fixed, 1 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 · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:* | up to 2.3.0 | Vulnerable | The OpenJPEG Project |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
- cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:* Versions up to 2.3.0 Vulnerable ·The OpenJPEG Project
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
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 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-20847
- 2026-10-03 Alias added: GHSA-m375-m9p8-9949
References
Patch 3
Sources
- CVE-2018-20847 · CVE Program
- CVE-2018-20847 · NVD
- FIRST EPSS
- GHSA-m375-m9p8-9949 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-20847 · 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