CVE-2016-7163
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.
02 Description
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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 7.11% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 94.1% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2016-09-21 14:00Z10 YR AGO
- Last updated
- 2024-08-06 01:50Z2 YR AGO
- Reserved
- 2016-09-08
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-190Integer Overflow or WraparoundBase
- Data version
- 5.1
- Document digest
- ba09cf6384def1dc9991e01f761edb8dc77a80f57f2d16f19dde5418f1132da7
05 Affected products
06 References
- www.openwall.com[oss-security] 20160908 Re: CVE Request: OpenJPEG Integer Overflow Issuehttp://www.openwall.com/lists/oss-security/2016/09/08/6
- www.securityfocus.com92897http://www.securityfocus.com/bid/92897
- www.openwall.com[oss-security] 20160908 CVE Request: OpenJPEG Integer Overflow Issuehttp://www.openwall.com/lists/oss-security/2016/09/08/3
- lists.fedoraproject.orgFEDORA-2016-231f53426bhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AQ2IIIQSJ3J4MONBOGCG6XHLKKJX2HKM/
- lists.fedoraproject.orgFEDORA-2016-8ed6b7bb5ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2T6IQAMS4W65MGP7UW5FPE22PXELTK5D/
- rhn.redhat.comRHSA-2017:0559http://rhn.redhat.com/errata/RHSA-2017-0559.html
- github.comhttps://github.com/uclouvain/openjpeg/issues/826
- rhn.redhat.comRHSA-2017:0838http://rhn.redhat.com/errata/RHSA-2017-0838.html
- github.comhttps://github.com/uclouvain/openjpeg/commit/ef01f18dfc6780b776d0674ed3e7415c6ef54d24
- www.debian.orgDSA-3665http://www.debian.org/security/2016/dsa-3665
- github.comhttps://github.com/uclouvain/openjpeg/pull/809
- lists.fedoraproject.orgFEDORA-2016-dc53ceffc2https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/66BWMMMWXH32J5AOGLAJGZA3GH5LZHXH/
- lists.fedoraproject.orgFEDORA-2016-2eac99579chttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H4IRSGYMBSHCBZP23CUDIRJ3LBKH6ZJ7/
- github.comhttps://github.com/uclouvain/openjpeg/commit/c16bc057ba3f125051c9966cf1f5b68a05681de4
- lists.fedoraproject.orgFEDORA-2016-27d3b7742fhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YGKSEWWWED77Q5ZHK4OA2EKSJXLRU3MK/
- lists.fedoraproject.orgFEDORA-2016-adb346980chttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYLOX7PZS3ZUHQ6RGI3M6H27B7I5ZZ26/
07 Fixed in
Debian 12
- openjpeg2 Fixed in 2.1.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- openjpeg2 Fixed in 2.1.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- openjpeg2 Fixed in 2.1.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- openjpeg2 Fixed in 2.1.0-2.1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.