Open JPEG Vulnerability CVE-2016-8332 disclosed by Cisco Talos group in  JPEG2000 image file format parser which implemented with the OpenJpeg library.

 

What is OpenJPEG ?

OpenJPEG is an open source JPEG2000 codec written With C Language. JPEG 2000 is an image coding system that uses state of the art compression techniques.

Overview

Exploitable Code execution vulnerability with JPEG 2000 can be exploited by attacker only if an user of the computer opens any malicious, specially designed JPEG 2000 images. This Specially crafted jpeg2000 file can cause an out of bound heap write resulting in heap corruption leading to arbitrary code execution. JPEG2000 image file format is commonly used in embedding images to the PDF files.

This CVE-2016-8332 vulnerability has assigned with CVSS score 7.5 as High vulnerability risk.

 

Rating CVSS Score
Low 0.1 – 3.9
Medium 4.0 – 6.9
High 7.0 – 8.9
Critical 9.0 – 10.0

 

Due to an error while parsing MCC(Multiple component collection) records in the jpeg2000 file, out of bounds memory can be accessed resulting in an erroneous read and write of adjacent heap area memory.

Careful manipulation of heap layout and can lead to further heap metadata process memory corruption ultimately leading to code execution under attacker control.

Now this issue has been reported to OpenJPEG developers and it was fixed with version 2.1.2.