CVE-2016-8332 Memory corruption in OPENJPEG
A buffer overflow in OpenJPEG allows arbitrary code execution when a user opens a malicious JPEG2000 image, often embedded in PDFs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-8332?
CVE-2016-8332 is a high-severity memory corruption vulnerability in Uclouvain Openjpeg, published on 28 Oct 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2016-8332?
It affects 1 product.
Products include Uclouvain Openjpeg.
How do I fix CVE-2016-8332?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2016-8332 being exploited?
There is no known exploitation of CVE-2016-8332 in the wild and no public exploit code.
Other vulnerabilities in Uclouvain Openjpeg
Sources
Also known as DEBIAN-CVE-2016-8332, GHSA-qxqh-jjhc-4wfg, UBUNTU-CVE-2016-8332.