Skip to content
Fencer Intel
high 7.8

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

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_3
    fixed: 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_8
    fixed: 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_3
    fixed: 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_8
    fixed: 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_3
    fixed: vendor fix RHSA-2017:0838
  • Red Hat Enterprise Linux Workstation (v. 6) openjpeg 1.3-16.el6_8, openjpeg-libs 1.3-16.el6_8
    fixed: 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_3
    fixed: 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_8
    fixed: vendor fix RHSA-2017:0559
show 1 more
  • Red Hat Enterprise Linux Workstation Optional (v. 7) openjpeg 1.5.1-16.el7_3, openjpeg-libs 1.5.1-16.el7_3
    fixed: 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

Sources

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.