CVE-2016-7163 json
Integer overflow in the opj_pi_create_decode function in pi.c in OpenJPEG allows remote attackers to execute arbitrary code via a crafted J…
published 2016-09-21 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-8031
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.1%
- EPSS 7.1% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
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.
Patch / fix
- uclouvain openjpeg 2.2.0
- openjpeg2 Debian 14, Debian 13, Debian 12 2.1.2-1
debian advisories DEBIAN-CVE-2016-7163
- openjpeg2 Ubuntu 16.04 LTS 2.1.0-2.1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2016-7163
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openjpeg RHEL 7 1.5.1-16.el7_3
- openjpeg-libs RHEL 7 1.5.1-16.el7_3
- openjpeg RHEL 6 1.3-16.el6_8
- openjpeg-libs RHEL 6 1.3-16.el6_8
red hat advisories RHSA-2017:0838RHSA-2017:0559
- openjpeg2 SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +4 more 2.1.0-4.3.2
suse advisories SUSE-SU-2017:2144-1
- openjpeg2 Package Hub 12 SP1, Package Hub 12 2.1.0-6.1
opensuse advisories openSUSE-SU-2017:2567-1
- github.com/uclouvain/openjpeg@ef01f18 commit
- github.com/uclouvain/openjpeg@c16bc05 commit
- github.com/uclouvain/openjpeg#809 pull request
- github.com/uclouvain/openjpeg/issues/826 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-7163 updated cvss 4.4
openjpeg: Integer overflow in opj_pi_create_decode
-
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-libs 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-libs 1.5.1-16.el7_3fixed: vendor fix RHSA-2017:0838
-
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-libs 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-libs 1.3-16.el6_8 Red Hat Enterprise Linux Server (v. 6) openjpeg 1.3-16.el6_8, openjpeg-libs 1.3-16.el6_8fixed: vendor fix RHSA-2017:0559
-
Red Hat Enterprise Linux Server (v. 7) openjpeg 1.5.1-16.el7_3, openjpeg-libs 1.5.1-16.el7_3fixed: vendor fix RHSA-2017:0838
-
Red Hat Enterprise Linux Server Optional (v. 6) openjpeg 1.3-16.el6_8, openjpeg-libs 1.3-16.el6_8fixed: vendor fix RHSA-2017:0559
-
Red Hat Enterprise Linux Server Optional (v. 7) openjpeg 1.5.1-16.el7_3, openjpeg-libs 1.5.1-16.el7_3fixed: vendor fix RHSA-2017:0838
-
Red Hat Enterprise Linux Workstation (v. 6) openjpeg 1.3-16.el6_8, openjpeg-libs 1.3-16.el6_8fixed: vendor fix RHSA-2017:0559
-
Red Hat Enterprise Linux Workstation (v. 7) openjpeg 1.5.1-16.el7_3, openjpeg-libs 1.5.1-16.el7_3fixed: vendor fix RHSA-2017:0838
-
Red Hat Enterprise Linux Workstation Optional (v. 6) openjpeg 1.3-16.el6_8, openjpeg-libs 1.3-16.el6_8fixed: vendor fix RHSA-2017:0559
show 1 moreshow fewer
-
Red Hat Enterprise Linux Workstation Optional (v. 7) openjpeg 1.5.1-16.el7_3, openjpeg-libs 1.5.1-16.el7_3fixed: vendor fix RHSA-2017:0838
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
7.11% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/uclouvain/openjpeg/issues/826 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/uclouvain/openjpeg/commit/ef01f18dfc6780b776d0674ed3e7415c6ef54d24
issue-tracking, patch, third-party-advisory
-
github.com
/uclouvain/openjpeg/pull/809
issue-tracking, patch, third-party-advisory
-
github.com
/uclouvain/openjpeg/commit/c16bc057ba3f125051c9966cf1f5b68a05681de4
issue-tracking, patch, third-party-advisory
-
github.com
/uclouvain/openjpeg/issues/826
exploit, issue-tracking, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/AQ2IIIQSJ3J4MONBOGCG6XHLKKJX2HKM/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/2T6IQAMS4W65MGP7UW5FPE22PXELTK5D/
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2017-0559.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2017-0838.html
vendor-advisory, third-party-advisory
-
debian.org
/security/2016/dsa-3665
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/66BWMMMWXH32J5AOGLAJGZA3GH5LZHXH/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/H4IRSGYMBSHCBZP23CUDIRJ3LBKH6ZJ7/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YGKSEWWWED77Q5ZHK4OA2EKSJXLRU3MK/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JYLOX7PZS3ZUHQ6RGI3M6H27B7I5ZZ26/
vendor-advisory
-
openwall.com
/lists/oss-security/2016/09/08/6
mailing-list, third-party-advisory
-
securityfocus.com
/bid/92897
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2016/09/08/3
mailing-list, third-party-advisory
Sources
- CVE List CVE-2016-7163
- NVD CVE-2016-7163
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.