Description
There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from 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 | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu 25.10 | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu 22.04 LTS | openjpeg2 | 2.3.1-1ubuntu5 | — |
| Ubuntu 20.04 LTS | openjpeg2 | 2.3.1-1ubuntu4.20.04.1 | USN-4685-1 |
| 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 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14 | USN-4686-1 |
| Ubuntu 16.04 LTS | openjpeg2 | 2.1.2-1.1+deb9u6build0.16.04.1 | USN-4880-1 |
| Ubuntu Pro 26.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 24.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 22.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 20.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 18.04 LTS | qtwebengine-opensource-src | No fix yet | — |
| Ubuntu Pro 16.04 LTS | openjpeg2 | 2.1.2-1.1+deb9u6ubuntu0.1~esm3 | USN-5952-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES 15 SP3 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES 15 SP2 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES 15 SP1 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| SLES 15 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-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 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-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 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
| openSUSE Leap 15.3 | openjpeg2 | 2.3.0-150000.3.8.1 | SUSE-SU-2022:3802-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openjpeg2 | 2.3.1-12 | — |
Advisories 8
- 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
- SUSE-SU-2022:3802-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
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1907510
- 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