Buffer overflow in OpenJPEG - CVE-2016-8332

 

Buffer overflow in OpenJPEG - CVE-2016-8332

Published: October 28, 2016 / Updated: August 9, 2020


Vulnerability identifier: #VU40068
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2016-8332
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: openjpeg.org
Affected software:
OpenJPEG

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


How to mitigate CVE-2016-8332

Install update from vendor's website.

Sources