Files
CVEs-PoC/2016/CVE-2016-8332.md
T
2024-06-18 02:51:15 +02:00

20 lines
1.2 KiB
Markdown

### [CVE-2016-8332](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-8332)
![](https://img.shields.io/static/v1?label=Product&message=OPENJPEG&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Arbitrary%20Code%20Execution&color=brighgreen)
### 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.
### POC
#### Reference
- https://www.oracle.com/security-alerts/cpujul2020.html
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/kardeiz/jp2k
- https://github.com/leoschwarz/jpeg2000-rust