Description
An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.
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.3.1-1 | — |
| Debian 13 | openjpeg2 | 2.3.1-1 | — |
| Debian 12 | openjpeg2 | 2.3.1-1 | — |
| Debian 8 | openjpeg2 | 2.1.0-2+deb8u7 | DLA-1851-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | blender +3 | No fix yet | — |
| Ubuntu 26.04 LTS | blender +2 | No fix yet | — |
| Ubuntu 25.10 | blender +3 | No fix yet | — |
| Ubuntu 24.04 LTS | blender +1 | No fix yet | — |
| Ubuntu 22.04 LTS | blender +2 | No fix yet | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | blender +1 | No fix yet | — |
| Ubuntu 18.04 LTS | blender +2 | No fix yet | — |
| Ubuntu 16.04 LTS | blender +3 | No fix yet | — |
| Ubuntu 16.04 LTS | openjpeg2 | 2.1.2-1.1+deb9u5build0.16.04.1 | USN-4497-1 |
| Ubuntu Pro 26.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 24.04 LTS | texmaker +1 | No fix yet | — |
| Ubuntu Pro 22.04 LTS | texmaker +1 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | texmaker +1 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | texmaker +1 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | openjpeg2 +3 | 2.4.0-4.el8 | RHSA-2021:4251 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | openjpeg2 +3 | 2.4.0-4.el8 | ALSA-2021:4251 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | openjpeg2 | 2.4.0-4.el8 | RLSA-2021:4251 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | openjpeg2 +3 | 2.4.0-4.amzn2 | ALAS2-2022-1741 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | openjpeg2 +3 | 2.4.0-4.el8 | ELSA-2021-4251 |
Advisories 7
- ALSA-2021:4251 Moderate: openjpeg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:4251 Red Hat Security Advisory: openjpeg2 security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-4497-1 OpenJPEG vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-1851-1 openjpeg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:4251 Moderate: openjpeg2 security update Rocky Linux Security Advisories · Feb 4, 2026
- ALAS2-2022-1741 Moderate: openjpeg2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 20, 2022
- ELSA-2021-4251 Moderate: openjpeg2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 16, 2021
References
- https://github.com/uclouvain/openjpeg/pull/1168/commits/c58df149900df862806d0e892859b41115875845
- https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949
- https://github.com/uclouvain/openjpeg/issues/431
- 108921 vdb-entry
- [debian-lts-announce] 20190710 [SECURITY] [DLA 1851-1] openjpeg2 security update mailing-list