CVE-2016-8332 json
A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image.
published 2016-10-28 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-9180
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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. For a successful attack, the target user needs to open a malicious jpeg2000 file. The jpeg2000 image file format is mostly used for embedding images inside PDF documents and the OpenJpeg library is used by a number of popular PDF renderers making PDF documents a likely attack vector.
Patch / fix
- openjpeg2 Debian 14, Debian 13, Debian 12 2.1.2-1
debian advisories DEBIAN-CVE-2016-8332
- openjpeg2 Ubuntu 16.04 LTS 2.1.0-2.1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2016-8332
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
- openjpeg2 SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +1 more 2.1.0-3.1
suse advisories SUSE-SU-2016:3270-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-8332 updated cvss 7.5
openjpeg2: JPEG2000 mcc record Code Execution Vulnerability
-
Red Hat Enterprise Linux 6 openjpeg, openjpeg-libs Red Hat Enterprise Linux 7 openjpeg, openjpeg-libsnot affected: vulnerable code not present
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
2.56% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- talosintelligence.com http://www.talosintelligence.com/reports/TALOS-2016-0193/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.0 | 7.8 | CVSS:3.0/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 |
Affected products
- OPENJPEG OPENJPEG
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
talosintelligence.com
/reports/TALOS-2016-0193/
exploit, third-party-advisory
-
debian.org
/security/2017/dsa-3768
vendor-advisory
-
securityfocus.com
/bid/93242
vdb-entry
-
securitytracker.com
/id/1038623
vdb-entry
- oracle.com /security-alerts/cpujul2020.html
-
github.com
/uclouvain/openjpeg/releases/tag/v2.1.2
release-notes, third-party-advisory
Sources
- CVE List CVE-2016-8332
- NVD CVE-2016-8332
Fencer Vulns 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.