Every CVE Search/ Get API key

CVE-2016-7163

Integer overflow in the opj_pi_create_decode function in pi.c in OpenJPEG allows remote attackers...

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

7.11%Down 0.8 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2016-7163
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-7163
Updated
2026-11-02
EUVDEUVD-2016-8031 No score

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.

Record
EUVD-2016-8031
Updated
2026-11-03
GitHub AdvisoriesGHSA-jm4f-49x7-642p 7.8

Integer overflow in the opj_pi_create_decode function in pi.c in OpenJPEG allows remote attackers...

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.

Record
GHSA-jm4f-49x7-642p
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVBELL-CVE-2016-7163 7.8

CVE-2016-7163 does not affect BellSoft software

Record
BELL-CVE-2016-7163
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2016-7163
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2016-7163 7.8

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.

Record
DEBIAN-CVE-2016-7163
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2017:0559 8.8

Red Hat Security Advisory: openjpeg security update

Record
RHSA-2017:0559
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2017:0838 8.8

Red Hat Security Advisory: openjpeg security update

Record
RHSA-2017:0838
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2016-7163 7.8

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.

Record
UBUNTU-CVE-2016-7163
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2016-0362 No score

Updated openjpeg2 packages fix security vulnerabilities

A specially crafted JPEG2000 image file can force Out-Of-Bounds Read in opj_tcd_free_tile() (CVE-2016-3181).

A specially crafted JPEG2000 image file can force Heap Corruption in opj_free() (CVE-2016-3182).

A specially crafted JPEG2000 image file can force Out-Of-Bounds Read in sycc422_to_rgb() (CVE-2016-3183).

OpenJPEG Heap Buffer Overflow in function color_cmyk_to_rgb() in color.c (CVE-2016-4796).

OpenJPEG division-by-zero in function opj_tcd_init_tile() in tcd.c (CVE-2016-4797).

Heap-based buffer overflow in the opj_dwt_interleave_v function in dwt.c in OpenJPEG allows remote attackers to execute arbitrary code via crafted coordinate values in JPEG 2000 data (CVE-2016-5157).

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 (CVE-2016-7163).

convert.c in OpenJPEG before 2.1.2 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via vectors involving the variable s (CVE-2016-7445).

A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image. An exploitable code execution vulnerability exists in the jpeg2000 image file format parser as implemented in the OpenJpeg library. A specially crafted jpeg2000 file can cause an out of bound heap write resulting in heap corruption leading to arbitrary code execution (CVE-2016-8332).

Record
MGASA-2016-0362
Updated
2026-11-02
OSVMGASA-2017-0122 No score

Updated openjpeg packages fix security vulnerability

Multiple integer overflows in the opj_tcd_init_tile function in tcd.c in OpenJPEG, as used in PDFium in Google Chrome before 52.0.2743.116, allow remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted JPEG 2000 data. (CVE-2016-5139)

Multiple integer overflows in the opj_tcd_init_tile function in tcd.c in OpenJPEG, as used in PDFium in Google Chrome before 53.0.2785.89 on Windows and OS X and before 53.0.2785.92 on Linux, allow remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted JPEG 2000 data. (CVE-2016-5158)

Multiple integer overflows in OpenJPEG, as used in PDFium in Google Chrome before 53.0.2785.89 on Windows and OS X and before 53.0.2785.92 on Linux, allow remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted JPEG 2000 data that is mishandled during opj_aligned_malloc calls in dwt.c and t1.c. (CVE-2016-5159)

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. (CVE-2016-7163)

An out-of-bounds read vulnerability was found in OpenJPEG, in the j2k_to_image tool. Converting a specially crafted JPEG2000 file to another format could cause the application to crash or, potentially, disclose some data from the heap. (CVE-2016-9573

Record
MGASA-2017-0122
Updated
2026-11-02
OSVopenSUSE-SU-2017:2567-1 No score

Security update for openjpeg2

This update for openjpeg2 fixes the following issues:

  • CVE-2016-9114: NULL Pointer Access in function imagetopnm of convert.c:1943(jp2) could lead to crash [bsc#1007740]
  • CVE-2016-9115: Heap Buffer Overflow in function imagetotga of convert.c(jp2) [bsc#1007741]
  • CVE-2016-9580, CVE-2016-9581: Possible Heap buffer overflow via integer overflow and infite loop [bsc#1014975]
  • CVE-2016-9117: NULL Pointer Access in function imagetopnm of convert.c(jp2):1289 [bsc#1007743]
  • CVE-2016-9118: Heap Buffer Overflow in function pnmtoimage of convert.c [bsc#1007744]
  • CVE-2016-9112: FPE(Floating Point Exception) in lib/openjp2/pi.c:523 [bsc#1007747]
  • CVE-2016-9116: NULL Pointer Access in function imagetopnm of convert.c:2226(jp2) [bsc#1007742]
  • CVE-2016-9113: NULL point dereference in function imagetobmp of convertbmp.c could lead to crash [bsc#1007739]
  • CVE-2016-9572 CVE-2016-9573: Insuficient check in imagetopnm() could lead to heap buffer overflow [bsc#1014543]
  • CVE-2016-8332: Malicious file in OpenJPEG JPEG2000 format could lead to code execution [bsc#1002414]
  • CVE-2016-7445: Null pointer dereference in convert.c could lead to crash [bsc#999817]
  • CVE 2016-7163: Integer Overflow could lead to remote code execution [bsc#997857]
  • CVE 2015-8871: Use-after-free in opj_j2k_write_mco function could lead to denial of service [bsc#979907]

This update was imported from the SUSE:SLE-12-SP2:Update update project.

Record
openSUSE-SU-2017:2567-1
Updated
2026-11-02
OSVSUSE-SU-2017:2144-1 No score

Security update for openjpeg2

This update for openjpeg2 fixes the following issues:

  • CVE 2016-7163: Integer Overflow could lead to remote code execution (bsc#997857).

  • CVE 2015-8871: Use-after-free in opj_j2k_write_mco function could lead to denial of service (bsc#979907).

Record
SUSE-SU-2017:2144-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openjpeg2
Debian:12
before 2.1.2-1
2.1.2-1
openjpeg2
Debian:13
before 2.1.2-1
2.1.2-1
openjpeg2
Debian:14
before 2.1.2-1
2.1.2-1
openjpeg2
Debian:8
From an advisory covering 4 CVEs
before 2.1.0-2+deb8u1, plus listed versions
2.1.0-2
2.1.0-2+deb8u1
openjpeg2
Mageia:5
From an advisory covering 9 CVEs
before 2.1.2-1.mga5
2.1.2-1.mga5
ghostscript
Mageia:5
From an advisory covering 9 CVEs
before 9.14-3.2.mga5
9.14-3.2.mga5
openjpeg
Mageia:5
From an advisory covering 5 CVEs
before 1.5.2-5.2.mga5
1.5.2-5.2.mga5
openjpeg
Red Hat:enterprise_linux:6::client
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-libs
Red Hat:enterprise_linux:6::client
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
Show 39 moreShow less
Affected packages
PackageAffectedFixed
openjpeg-devel
Red Hat:enterprise_linux:6::client
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg
Red Hat:enterprise_linux:6::computenode
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-libs
Red Hat:enterprise_linux:6::computenode
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-devel
Red Hat:enterprise_linux:6::computenode
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg
Red Hat:enterprise_linux:6::server
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-libs
Red Hat:enterprise_linux:6::server
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-devel
Red Hat:enterprise_linux:6::server
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg
Red Hat:enterprise_linux:6::workstation
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-libs
Red Hat:enterprise_linux:6::workstation
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg-devel
Red Hat:enterprise_linux:6::workstation
From an advisory covering 5 CVEs
before 0:1.3-16.el6_8
0:1.3-16.el6_8
openjpeg
Red Hat:enterprise_linux:7::client
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-libs
Red Hat:enterprise_linux:7::client
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-devel
Red Hat:enterprise_linux:7::client
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg
Red Hat:enterprise_linux:7::computenode
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-libs
Red Hat:enterprise_linux:7::computenode
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-devel
Red Hat:enterprise_linux:7::computenode
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg
Red Hat:enterprise_linux:7::server
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-libs
Red Hat:enterprise_linux:7::server
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-devel
Red Hat:enterprise_linux:7::server
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg
Red Hat:enterprise_linux:7::workstation
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-libs
Red Hat:enterprise_linux:7::workstation
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg-devel
Red Hat:enterprise_linux:7::workstation
From an advisory covering 6 CVEs
before 0:1.5.1-16.el7_3
0:1.5.1-16.el7_3
openjpeg2
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 2 CVEs
before 2.1.0-4.3.2
2.1.0-4.3.2
openjpeg2
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 2 CVEs
before 2.1.0-4.3.2
2.1.0-4.3.2
openjpeg2
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 2 CVEs
before 2.1.0-4.3.2
2.1.0-4.3.2
openjpeg2
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 2 CVEs
before 2.1.0-4.3.2
2.1.0-4.3.2
openjpeg2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 2 CVEs
before 2.1.0-4.3.2
2.1.0-4.3.2
openjpeg2
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 2 CVEs
before 2.1.0-4.3.2
2.1.0-4.3.2
openjpeg2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 2 CVEs
before 2.1.0-4.3.2
2.1.0-4.3.2
openjpeg2
Ubuntu:16.04:LTS
before 2.1.0-2.1ubuntu0.1, plus listed versions
2.1.0-2.1
2.1.0-2.1ubuntu0.1
openjpeg2
SUSE:Package Hub 12
From an advisory covering 15 CVEs
before 2.1.0-6.1
2.1.0-6.1
openjpeg2
SUSE:Package Hub 12 SP1
From an advisory covering 15 CVEs
before 2.1.0-6.1
2.1.0-6.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-7163 is a high vulnerability (CVSS 7.8) in Uclouvain Openjpeg, published September 11, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 7.11%, the 94th percentile. Fixed in openjpeg2 2.1.2-1.

References

Show 92 moreShow less
MoveEnter Open