CVE-2016-7163
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.39%• Percentile: 61%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- debian•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
< 2.2.0
References (16)
- http://www.openwall.com/lists/oss-security/2016/09/08/6
- http://www.securityfocus.com/bid/92897
- http://www.openwall.com/lists/oss-security/2016/09/08/3
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AQ2IIIQSJ3J4MONBOGCG6XHLKKJX2HKM/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2T6IQAMS4W65MGP7UW5FPE22PXELTK5D/
- http://rhn.redhat.com/errata/RHSA-2017-0559.html
- https://github.com/uclouvain/openjpeg/issues/826
- http://rhn.redhat.com/errata/RHSA-2017-0838.html
- https://github.com/uclouvain/openjpeg/commit/ef01f18dfc6780b776d0674ed3e7415c6ef54d24
- http://www.debian.org/security/2016/dsa-3665
- https://github.com/uclouvain/openjpeg/pull/809
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/66BWMMMWXH32J5AOGLAJGZA3GH5LZHXH/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H4IRSGYMBSHCBZP23CUDIRJ3LBKH6ZJ7/
- https://github.com/uclouvain/openjpeg/commit/c16bc057ba3f125051c9966cf1f5b68a05681de4
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YGKSEWWWED77Q5ZHK4OA2EKSJXLRU3MK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYLOX7PZS3ZUHQ6RGI3M6H27B7I5ZZ26/