Description
There's a flaw in src/lib/openjp2/pi.c of openjpeg in versions prior to 2.4.0. If an attacker is able to provide untrusted input to openjpeg's conversion/encoding functionality, they could cause an out-of-bounds read. The highest impact of this flaw is to application availability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | openjpeg | openjpeg 2.4.0 | — |
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.4.0-1 | — |
| Debian 13 | openjpeg2 | 2.4.0-1 | — |
| Debian 12 | openjpeg2 | 2.4.0-1 | — |
| Debian 10 | openjpeg2 | 2.3.0-2+deb10u2 | DSA-4882-1 |
| Debian 9 | openjpeg2 | 2.1.2-1.1+deb9u6 | DLA-2550-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | texmaker +1 | No fix yet | — |
| Ubuntu 26.04 LTS | texmaker | No fix yet | — |
| Ubuntu 25.10 | texmaker +1 | No fix yet | — |
| Ubuntu 22.04 LTS | insighttoolkit4 | No fix yet | — |
| Ubuntu 22.04 LTS | openjpeg2 | 2.3.1-1ubuntu5 | — |
| Ubuntu 20.04 LTS | insighttoolkit4 | No fix yet | — |
| Ubuntu 20.04 LTS | openjpeg2 | 2.3.1-1ubuntu4.20.04.1 | USN-4685-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | blender +1 | No fix yet | — |
| Ubuntu 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.14 | USN-4686-1 |
| Ubuntu 18.04 LTS | openjpeg2 | 2.3.0-2+deb10u2build0.18.04.1 | USN-5952-1 |
| Ubuntu 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14 | USN-4686-1 |
| Ubuntu 16.04 LTS | insighttoolkit4 | No fix yet | — |
| Ubuntu 16.04 LTS | openjpeg2 | 2.1.2-1.1+deb9u6build0.16.04.1 | USN-4880-1 |
| Ubuntu 14.04 LTS | openjpeg | No fix yet | — |
| 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 | — |
| Ubuntu Pro 16.04 LTS | openjpeg | No fix yet | — |
| Ubuntu Pro 16.04 LTS | openjpeg2 | 2.1.2-1.1+deb9u6ubuntu0.1~esm3 | USN-5952-1 |
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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| SLES 15 SP4 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES 15 SP3 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| SLES 15 SP3 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES 15 SP2 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| SLES 15 SP2 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES 15 SP1 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| SLES 15 SP1 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES 15 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| SLES 15 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | openjpeg2 | 2.1.0-4.18.2 | SUSE-SU-2022:3801-1 |
| SLES 12 SP4 | openjpeg2 | 2.1.0-4.18.2 | SUSE-SU-2022:3801-1 |
| SLES 12 SP3 | openjpeg2 | 2.1.0-4.18.2 | SUSE-SU-2022:3801-1 |
| SLES 12 SP2 | openjpeg2 | 2.1.0-4.18.2 | SUSE-SU-2022:3801-1 |
| SLES for SAP 15 SP2 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES for SAP 15 SP1 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES for SAP 15 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| SLES for SAP 15 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES for SAP 12 SP5 | openjpeg2 | 2.1.0-4.18.2 | SUSE-SU-2022:3801-1 |
| SLES for SAP 12 SP4 | openjpeg2 | 2.1.0-4.18.2 | SUSE-SU-2022:3801-1 |
| SLE HPC 15 SP2 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| SLE HPC 15 SP2 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLE HPC 15 SP1 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLE HPC 15 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| SLE HPC 15 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SUSE OpenStack Cloud Crowbar 9 | openjpeg2 | 2.1.0-4.18.2 | SUSE-SU-2022:3801-1 |
| SUSE OpenStack Cloud 9 | openjpeg2 | 2.1.0-4.18.2 | SUSE-SU-2022:3801-1 |
| SUSE Manager Server 4.1 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SUSE Manager Retail Branch Server 4.1 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SUSE Manager Proxy 4.1 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SUSE Enterprise Storage 7 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SUSE Enterprise Storage 6 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| openSUSE Leap 15.4 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| openSUSE Leap 15.3 | openjpeg | 1.5.2-150000.4.10.1 | SUSE-SU-2022:4082-1 |
| openSUSE Leap 15.3 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | openjpeg2 +3 | 2.4.0-4.amzn2 | ALAS2-2022-1741 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openjpeg2 | 2.3.1-12 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | openjpeg2 +3 | 2.4.0-4.el8 | ELSA-2021-4251 |
Advisories 15
- 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-5952-1 openjpeg2 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-4686-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-4880-1 openjpeg2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-4685-1 openjpeg2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-4882-1 openjpeg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2550-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
- SUSE-SU-2022:3802-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:4082-1 Security update for openjpeg SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3801-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1880 OpenJPEG: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit Benutzerrechten BSI CERT-Bund (WID) · Mar 15, 2023
- 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://bugzilla.redhat.com/show_bug.cgi?id=1907523
- FEDORA-2020-d32853a28d vendor-advisory
- GLSA-202101-29 vendor-advisory
- [debian-lts-announce] 20210208 [SECURITY] [DLA 2550-1] openjpeg2 security update mailing-list
- DSA-4882 vendor-advisory
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com//security-alerts/cpujul2021.html