Skip to content
OpenAdvisories
High · 7.5 CVE-2016-8332 EUVD-2016-9180GHSA-qxqh-jjhc-4wfg

A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image. An exploitable code execution vulnerabili…

Published Oct 28, 2016 · Updated Aug 6, 2024 · Assigned by talos

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.

Affected products

VendorProductAffectedFixed
OPENJPEG OPENJPEG 2.1.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openjpeg2 2.1.2-1 —
Debian 13 openjpeg2 2.1.2-1 —
Debian 12 openjpeg2 2.1.2-1 —
Debian 8 openjpeg2 2.1.0-2+deb8u2 DSA-3768-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS openjpeg2 2.1.0-2.1ubuntu0.1 —
ReleasePackageFixed inAdvisory
SLES 12 SP2 openjpeg2 2.1.0-3.1 SUSE-SU-2016:3270-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP2 openjpeg2 2.1.0-3.1 SUSE-SU-2016:3270-1
SUSE Package Hub 12 SP1 openjpeg2 2.1.0-6.1 openSUSE-SU-2017:2567-1
SUSE Package Hub 12 openjpeg2 2.1.0-6.1 openSUSE-SU-2017:2567-1

Advisories 3

References