Description
The opj_tgt_reset function in OpenJpeg 2016.1.18 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted JPEG 2000 image.
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.1-1 | — |
| Debian 13 | openjpeg2 | 2.1.1-1 | — |
| Debian 12 | openjpeg2 | 2.1.1-1 | — |
| Debian 8 | openjpeg2 | 2.1.0-2+deb8u1 | DSA-3665-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | openjpeg2 | 2.1.2-1.1+deb9u2build0.1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SLES 12 SP4 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SLES 12 SP3 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SLES 12 SP2 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SLES for SAP 12 SP4 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SLES for SAP 12 SP3 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SUSE OpenStack Cloud Crowbar 9 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SUSE OpenStack Cloud Crowbar 8 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SUSE OpenStack Cloud 9 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SUSE OpenStack Cloud 8 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SUSE HPE Helion OpenStack 8 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
Advisories 2
- DSA-3665-1 openjpeg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:1129-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201612-26 vendor-advisory
- DSA-3665 vendor-advisory
- [oss-security] 20160118 Re: Out-of-bounds Read in the OpenJpeg's opj_j2k_update_image_data and opj_tgt_reset function mailing-list
- [oss-security] 20160118 Out-of-bounds Read in the OpenJpeg's opj_j2k_update_image_data and opj_tgt_reset function mailing-list
- https://www.oracle.com/security-alerts/cpujul2020.html