What’s Vulnerable › Vulnerabilities
CVE-2016-7163
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 7.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2016-09-21 · updated 2026-06-17
- Weakness: CWE-190
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.
Affected products
- Debian Linux: 8.0
- Fedoraproject Fedora: 23, 24, 25
- RedHat Enterprise Linux Desktop: 7.0
- RedHat Enterprise Linux Eus: 7.3, 7.4, 7.5, 7.6, 7.7
- RedHat Enterprise Linux Server: 6.0, 7.0
- RedHat Enterprise Linux Server Aus: 7.3, 7.4, 7.6, 7.7
- RedHat Enterprise Linux Server Tus: 7.3, 7.6, 7.7
- RedHat Enterprise Linux Workstation: 6.0, 7.0
- uclouvain openjpeg: before 2.2.0 — fixed in 2.2.0
How to fix
Upgrade to a fixed version: uclouvain openjpeg 2.2.0. Check the vendor advisory for mitigations.
References
- http://rhn.redhat.com/errata/RHSA-2017-0559.html
- http://rhn.redhat.com/errata/RHSA-2017-0838.html
- http://www.debian.org/security/2016/dsa-3665
- http://www.openwall.com/lists/oss-security/2016/09/08/3
- http://www.openwall.com/lists/oss-security/2016/09/08/6
- http://www.securityfocus.com/bid/92897
- https://github.com/uclouvain/openjpeg/commit/c16bc057ba3f125051c9966cf1f5b68a05681de4
- https://github.com/uclouvain/openjpeg/commit/ef01f18dfc6780b776d0674ed3e7415c6ef54d24
- https://github.com/uclouvain/openjpeg/issues/826
- https://github.com/uclouvain/openjpeg/pull/809
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2T6IQAMS4W65MGP7UW5FPE22PXELTK5D/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/66BWMMMWXH32J5AOGLAJGZA3GH5LZHXH/
Get alerted when CVE-2016-7163 or the next vulnerability affects your stack