Integer overflow in the opj_pi_create_decode function in pi.c in OpenJPEG allows remote…
Priority MEDIUM 44CWE-190Published · Updated
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
- 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
Integer overflow in the opj_pi_create_decode function in pi.c in OpenJPEG allows remote attackers to execute arbitrary code via a crafted JP2 file, which triggers an out-of-bounds read or write.
Why it matters now
EPSS 0.07114 94th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 2 advisories
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 · 22
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:* | before 2.2.0 | Vulnerable | The OpenJPEG Project |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:* | 23 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* | 24 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:* | 25 | Vulnerable | Fedoraproject |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
- cpe:2.3:a:uclouvain:openjpeg:*:*:*:*:*:*:*:* Versions before 2.2.0 Vulnerable ·The OpenJPEG Project
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:* Versions 23 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* Versions 24 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:* Versions 25 Vulnerable ·Fedoraproject
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
Show 12 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* | 7.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:* | 7.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* | 7.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* Versions 7.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:* Versions 7.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* Versions 7.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Remediation
Red Hat 2 advisories
- RHSA-2017:0838 Released 2017-03-23 · Red Hat rating Moderateopenjpeg security update
- Red Hat Enterprise Linux Client (v. 7) openjpeg-1.5.1-16.el7_3, openjpeg-libs-1.5.1-16.el7_3
- Red Hat Enterprise Linux Client Optional (v. 7) openjpeg-1.5.1-16.el7_3, openjpeg-devel-1.5.1-16.el7_3
- Red Hat Enterprise Linux ComputeNode (v. 7) openjpeg-1.5.1-16.el7_3, openjpeg-libs-1.5.1-16.el7_3
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) openjpeg-1.5.1-16.el7_3, openjpeg-devel-1.5.1-16.el7_3
- Red Hat Enterprise Linux Server (v. 7) openjpeg-1.5.1-16.el7_3, openjpeg-libs-1.5.1-16.el7_3, openjpeg-libs-1.5.1-16.el7_3.ppc
- Red Hat Enterprise Linux Server Optional (v. 7) openjpeg-1.5.1-16.el7_3, openjpeg-devel-1.5.1-16.el7_3, openjpeg-devel-1.5.1-16.el7_3.ppc
- Red Hat Enterprise Linux Workstation (v. 7) openjpeg-1.5.1-16.el7_3, openjpeg-libs-1.5.1-16.el7_3
- Red Hat Enterprise Linux Workstation Optional (v. 7) openjpeg-1.5.1-16.el7_3, openjpeg-devel-1.5.1-16.el7_3
- RHSA-2017:0559 Released 2017-03-20 · Red Hat rating Moderateopenjpeg security update
- Red Hat Enterprise Linux Desktop (v. 6) openjpeg-1.3-16.el6_8, openjpeg-libs-1.3-16.el6_8
- Red Hat Enterprise Linux Desktop Optional (v. 6) openjpeg-1.3-16.el6_8, openjpeg-devel-1.3-16.el6_8
- Red Hat Enterprise Linux HPC Node (v. 6) openjpeg-1.3-16.el6_8, openjpeg-libs-1.3-16.el6_8
- Red Hat Enterprise Linux HPC Node Optional (v. 6) openjpeg-1.3-16.el6_8, openjpeg-devel-1.3-16.el6_8
- Red Hat Enterprise Linux Server (v. 6) openjpeg-1.3-16.el6_8, openjpeg-libs-1.3-16.el6_8, openjpeg-libs-1.3-16.el6_8.ppc
- Red Hat Enterprise Linux Server Optional (v. 6) openjpeg-1.3-16.el6_8, openjpeg-devel-1.3-16.el6_8, openjpeg-devel-1.3-16.el6_8.ppc
- Red Hat Enterprise Linux Workstation (v. 6) openjpeg-1.3-16.el6_8, openjpeg-libs-1.3-16.el6_8
- Red Hat Enterprise Linux Workstation Optional (v. 6) openjpeg-1.3-16.el6_8, openjpeg-devel-1.3-16.el6_8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2017:0838 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2017:0838 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2017:0838 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2017:0838 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2017:0559 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2017:0559 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2017:0559 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2017:0559 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2017:0559 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2017:0838 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2017:0559 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2017:0838 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2017:0559 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2017:0838 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2017:0559 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2017:0838 |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-7163
- 2026-10-03 Alias added: GHSA-jm4f-49x7-642p
References
Patch 3
Advisory 11
- [oss-security] 20160908 Re: CVE Request: OpenJPEG Integer Overflow Issue
- [oss-security] 20160908 CVE Request: OpenJPEG Integer Overflow Issue
- FEDORA-2016-231f53426b
- FEDORA-2016-8ed6b7bb5e
- RHSA-2017:0559
- RHSA-2017:0838
- DSA-3665
- FEDORA-2016-dc53ceffc2
- FEDORA-2016-2eac99579c
- FEDORA-2016-27d3b7742f
- FEDORA-2016-adb346980c
Sources
- CVE-2016-7163 · CVE Program
- CVE-2016-7163 · NVD
- FIRST EPSS
- GHSA-jm4f-49x7-642p · GitHub Advisory Database · CC BY 4.0
- CVE-2016-7163 · 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