Description
Heap-based buffer overflow in the opj_j2k_update_image_data 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 | — |
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 SP4 | openjpeg2 | 2.1.0-4.12.2 | SUSE-SU-2019:2152-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP4 | openjpeg2 | 2.1.0-4.12.2 | SUSE-SU-2019:2152-1 |
Advisories 1
- SUSE-SU-2019:2152-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201612-26 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