Memory corruption in OPENJPEG
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image. An exploitable code execution vulnerability exists in the jpeg2000 image file format parser as implemented in the OpenJpeg library. A specially crafted jpeg2000 file can cause an out of bound heap write resulting in heap corruption leading to arbitrary code execution. For a successful attack, the target user needs to open a malicious jpeg2000 file. The jpeg2000 image file format is mostly used for embedding images inside PDF documents and the OpenJpeg library is used by a number of popular PDF renderers making PDF documents a likely attack vector.
Why it matters now
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 |
|---|---|---|---|---|---|
| OPENJPEG | OPENJPEG | 2.1.1 | — | No fix listed | CNA |
- OPENJPEG VendorOPENJPEG Affected 2.1.1 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:uclouvain:openjpeg:2.1.1:*:*:*:*:*:*:* | 2.1.1 | Vulnerable | The OpenJPEG Project |
- cpe:2.3:a:uclouvain:openjpeg:2.1.1:*:*:*:*:*:*:* Versions 2.1.1 Vulnerable ·The OpenJPEG Project
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2016-8332
- 2026-10-03 Alias added: GHSA-qxqh-jjhc-4wfg
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-2016-8332 · CVE Program
- CVE-2016-8332 · NVD
- FIRST EPSS
- GHSA-qxqh-jjhc-4wfg · GitHub Advisory Database · CC BY 4.0
- CVE-2016-8332 · 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