Description
A heap-based buffer overflow was found in openjpeg in color.c:379:42 in sycc420_to_rgb when decompressing a crafted .j2k file. An attacker could use this to execute arbitrary code with the permissions of the application compiled against openjpeg.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | OpenJPEG | Afeects v2.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.3-1 | — |
| Debian 13 | openjpeg2 | 2.5.3-1 | — |
| Debian 12 | openjpeg2 | 2.5.0-2+deb12u1 | DSA-5851-1 |
| Debian 11 | openjpeg2 | 2.4.0-3+deb11u1 | DLA-4107-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 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 |
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 2 | openjpeg +2 | 1.5.1-19.amzn2 | ALAS2-2023-1999 |
| Amazon Linux 2 | openjpeg2 +3 | 2.4.0-4.amzn2 | ALAS2-2022-1741 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openjpeg2 | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | openjpeg2 +3 | 2.4.0-4.el8 | ELSA-2021-4251 |
Advisories 11
- ALSA-2021:4251 Moderate: openjpeg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- RHSA-2021:4251 Red Hat Security Advisory: openjpeg2 security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-7083-1 openjpeg2 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-5851-1 openjpeg2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4107-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
- WID-SEC-2023-0711 OpenJPEG: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit den Rechten des Dienstes BSI CERT-Bund (WID) · Apr 1, 2025
- ALAS2-2023-1999 Moderate: openjpeg security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 21, 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