Description
A flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a large number of files. When it fails to allocate a buffer to store the filenames of the input directory, it calls free() on an uninitialized pointer, leading to a segmentation fault and a denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | openjpeg2 | openjpeg2 version 2.4.0 and prior | — |
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.5.0-1 | — |
| Debian 13 | openjpeg2 | 2.5.0-1 | — |
| Debian 12 | openjpeg2 | 2.5.0-1 | — |
| Debian 11 | openjpeg2 | 2.4.0-3+deb11u1 | DLA-4107-1 |
| Debian 9 | openjpeg2 | 2.1.2-1.1+deb9u7 | DLA-2975-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | blender +2 | No fix yet | — |
| Ubuntu 26.04 LTS | blender +1 | No fix yet | — |
| Ubuntu 25.10 | blender +2 | No fix yet | — |
| Ubuntu 24.04 LTS | blender | No fix yet | — |
| Ubuntu 24.04 LTS | openjpeg2 | 2.5.0-2ubuntu0.2 | USN-7083-1 |
| Ubuntu 22.04 LTS | blender +1 | No fix yet | — |
| Ubuntu 22.04 LTS | openjpeg2 | 2.4.0-6ubuntu0.2 | USN-7083-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | blender +1 | No fix yet | — |
| Ubuntu 20.04 LTS | openjpeg2 | 2.3.1-1ubuntu4.20.04.3 | USN-7083-1 |
| Ubuntu 18.04 LTS | blender +1 | No fix yet | — |
| Ubuntu 16.04 LTS | blender +2 | 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 | openjpeg2 | 2.3.0-2+deb10u2ubuntu0.1~esm3 | USN-7083-1 |
| Ubuntu Pro 18.04 LTS | texmaker +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | openjpeg2 | 2.1.2-1.1+deb9u6ubuntu0.1~esm6 | USN-7083-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | openjpeg2 +2 | 2.4.0-7.el9 | RHSA-2022:8207 |
| RHEL 8 | openjpeg2 +3 | 2.4.0-5.el8 | RHSA-2022:7645 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | openjpeg2 +2 | 2.4.0-7.el9 | ALSA-2022:8207 |
| AlmaLinux 8 | openjpeg2 +3 | 2.4.0-5.el8 | ALSA-2022:7645 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | openjpeg2 | 2.4.0-7.el9 | RLSA-2022:8207 |
| Rocky Linux 8 | openjpeg2 | 2.4.0-5.el8 | RLSA-2022:7645 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SLES 15 SP2 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SLES 15 SP1 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SLES 15 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SLES 12 SP5 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
Show 23 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
| SLES for SAP 15 SP2 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SLES for SAP 15 SP1 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SLES for SAP 15 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| 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 |
| SLE Real Time 15 SP2 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SLE HPC 15 SP2 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SLE HPC 15 SP1 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SLE HPC 15 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-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 Manager Server 4.1 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SUSE Manager Retail Branch Server 4.1 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SUSE Manager Proxy 4.1 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SUSE HPE Helion OpenStack 8 | openjpeg2 | 2.1.0-4.15.1 | SUSE-SU-2022:1129-1 |
| SUSE Enterprise Storage 7 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
| SUSE Enterprise Storage 6 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | openjpeg2 | 2.3.0-150000.3.5.1 | SUSE-SU-2022:1252-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openjpeg | 2.5.0-r0 | — |
| Alpine v3.23 | openjpeg | 2.5.0-r0 | — |
| Alpine v3.22 | openjpeg | 2.5.0-r0 | — |
| Alpine v3.21 | openjpeg | 2.5.0-r0 | — |
| Alpine v3.20 | openjpeg | 2.5.0-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | openjpeg | 2.5.0-r0 | — |
| Alpine v3.18 | openjpeg | 2.5.0-r0 | — |
| Alpine v3.17 | openjpeg | 2.5.0-r0 | — |
| Alpine v3.16 | openjpeg | 2.5.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | openjpeg2 +3 | 2.4.0-11.amzn2023.0.3 | ALAS2023-2023-040 |
| Amazon Linux 2 | openjpeg2 +3 | 2.4.0-5.amzn2 | ALAS2-2022-1894 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openjpeg2 | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | openjpeg2 +2 | 2.4.0-7.el9 | ELSA-2022-8207 |
| Oracle Linux 8 | openjpeg2 +3 | 2.4.0-5.el8 | ELSA-2022-7645 |
Advisories 19
- ALSA-2022:8207 Low: openjpeg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2022:7645 Low: openjpeg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:8207 Red Hat Security Advisory: openjpeg2 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2022:7645 Red Hat Security Advisory: openjpeg2 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-7083-1 openjpeg2 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-4107-1 openjpeg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2975-1 openjpeg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:7645 Low: openjpeg2 security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2022:8207 Low: openjpeg2 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2022:1252-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1129-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-1424 Xerox FreeFlow Print Server für Solaris: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- WID-SEC-2022-0923 OpenJPEG: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Apr 1, 2025
- WID-SEC-2023-1783 Oracle Supply Chain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2023
- WID-SEC-2023-0132 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 1, 2023
- ALAS2023-2023-040 Low: openjpeg2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ALAS2-2022-1894 Low: openjpeg2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 6, 2022
- ELSA-2022-8207 Low: openjpeg2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 22, 2022
- ELSA-2022-7645 Low: openjpeg2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 15, 2022
References
- https://github.com/uclouvain/openjpeg/issues/1368
- FEDORA-2022-9515529c96 vendor-advisory
- [debian-lts-announce] 20220410 [SECURITY] [DLA 2975-1] openjpeg2 security update mailing-list
- FEDORA-2022-2d112d4480 vendor-advisory
- FEDORA-2022-975e21444a vendor-advisory
- GLSA-202209-04 vendor-advisory