High severity · published Oct 28, 2016
CVE-2016-8332
A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image
7.8
CVSS
2.6%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.6% · higher than 85% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
Openjpeg · Uclouvain
2.1.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2016-8332
CVE.org
https://www.cve.org/CVERecord?id=CVE-2016-8332
www.debian.org
http://www.debian.org/security/2017/dsa-3768
www.securityfocus.com
http://www.securityfocus.com/bid/93242
www.securitytracker.com
http://www.securitytracker.com/id/1038623
Exploit
http://www.talosintelligence.com/reports/TALOS-2016-0193/
Release Notes
https://github.com/uclouvain/openjpeg/releases/tag/v2.1.2
www.oracle.com
https://www.oracle.com/security-alerts/cpujul2020.html
More from Openjpeg
9.8
CVE-2025-54874
OpenJPEG is an open-source JPEG 2000 codec
9.8
CVE-2018-7648
An issue was discovered in mj2/opj_mj2_extract.c in OpenJPEG 2.3.0
9.8
CVE-2017-17480
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtovolume function in jp3d/convert.c
9.8
CVE-2017-17479
In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c
9.8
CVE-2015-8871
Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors
