Description
OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG from 2.5.1 through 2.5.3, a call to opj_jp2_read_header may lead to OOB heap memory write when the data stream p_stream is too short and p_image is not initialized.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| uclouvain | openjpeg | >= 2.5.1, <= 2.5.3 | — |
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-2.1 | — |
| Debian 13 | openjpeg2 | 2.5.3-2.1~deb13u1 | — |
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 26.04 LTS | openjpeg2 | 2.5.3-2.1 | — |
| Ubuntu 25.10 | blender +2 | No fix yet | — |
| Ubuntu 25.10 | openjpeg2 | 2.5.3-2.1 | — |
| Ubuntu 24.04 LTS | blender | No fix yet | — |
| Ubuntu 24.04 LTS | openjpeg2 | 2.5.0-2ubuntu0.4 | USN-7757-1 |
| Ubuntu 22.04 LTS | blender +1 | No fix yet | — |
| Ubuntu 22.04 LTS | openjpeg2 | 2.4.0-6ubuntu0.4 | USN-7757-1 |
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 +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 | openjpeg2 | 2.3.1-1ubuntu4.20.04.4+esm1 | USN-7757-1 |
| Ubuntu Pro 20.04 LTS | texmaker +1 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | openjpeg2 | 2.3.0-2+deb10u2ubuntu0.1~esm5 | USN-7757-1 |
| Ubuntu Pro 18.04 LTS | texmaker +1 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | openjpeg2 +2 | 2.5.2-4.el10_0.1 | RHSA-2025:13944 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | openjpeg2 +2 | 2.5.2-4.el10_0.1 | ALSA-2025:13944 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | openjpeg2 | 2.5.2-4.el10_0.1 | RLSA-2025:13944 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | openjpeg2 | 2.5.3-160000.4.1 | SUSE-SU-2026:21995-1 |
| SLES 16.0 | openjpeg2 | 2.5.3-160000.4.1 | SUSE-SU-2026:21995-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | chromium | 139.0.7258.66-1.1 | openSUSE-SU-2025:15421-1 |
| openSUSE Leap 16.0 | chromium | 142.0.7444.162-bp160.1.1 | openSUSE-SU-2025:20076-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openjpeg | 2.5.3-r1 | — |
| Alpine v3.24 | qt6-qtwebengine | 6.9.2-r1 | — |
| Alpine v3.23 | openjpeg | 2.5.3-r1 | — |
| Alpine v3.23 | qt6-qtwebengine | 6.9.2-r1 | — |
| Alpine v3.22 | openjpeg | 2.5.4-r0 | — |
| Alpine v3.21 | openjpeg | 2.5.4-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openjpeg2 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | openjpeg2 | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | openjpeg2 +2 | 2.5.2-4.el10_0.1 | ELSA-2025-13944 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | openjpeg | 2.5.3-r2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
cyhe50/cve-2025-54874-poc ★ 0 · Oct 19, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 14
- ALSA-2025:13944 Important: openjpeg2 security update AlmaLinux Security Advisories · Oct 29, 2026
- openSUSE-SU-2025:20076-1 Security update for chromium SUSE / openSUSE Security Updates · Sep 6, 2026
- WID-SEC-2026-0162 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 24, 2026
- RHSA-2025:13944 Red Hat Security Advisory: openjpeg2 security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- SUSE-SU-2026:21995-1 Security update for openjpeg2 SUSE / openSUSE Security Updates · Jun 9, 2026
- WID-SEC-2025-1722 OpenJPEG: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jun 8, 2026
- USN-7757-1 openjpeg2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2025:15421-1 chromedriver-139.0.7258.66-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- NCSC-2026-0027 Kwetsbaarheden verholpen in Oracle Fusion Middleware NCSC-NL (Netherlands) · Jan 21, 2026
- NCSC-2026-0021 Kwetsbaarheden verholpen in Oracle Database Server producten NCSC-NL (Netherlands) · Jan 21, 2026
- WID-SEC-2026-0175 Oracle Supply Chain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2026-0157 Oracle Database Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- RLSA-2025:13944 Important: openjpeg2 security update Rocky Linux Security Advisories · Oct 8, 2025
- ELSA-2025-13944 Important: openjpeg2 security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Aug 18, 2025