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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | openjpeg2 | 2.1.0-2.1ubuntu0.1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | openjpeg2 | 2.1.0-3.1 | SUSE-SU-2016:3270-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- DSA-3768-1 openjpeg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:3270-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2017:2567-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026