CVSS 4.0
6.6 mediumCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:PMedium (6.6) in uclouvain openjpeg. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:PCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2025-54874 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-54874?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-54874?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-54874 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| uclouvain:openjpeg | through 2.5.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13 | openjpeg2 | 2.5.3-2.1~deb13u1 | DEBIAN-CVE-2025-54874 |
| Debian | 14 | openjpeg2 | 2.5.3-2.1 | DEBIAN-CVE-2025-54874 |
| Ubuntu | 16.04:LTS | blender, texmaker, insighttoolkit4 | no fix listed | UBUNTU-CVE-2025-54874 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS | blender, insighttoolkit4 | no fix listed | UBUNTU-CVE-2025-54874 |
| Ubuntu | 22.04:LTS | openjpeg2 | 2.4.0-6ubuntu0.4 | USN-7757-1 |
| Ubuntu | 24.04:LTS | blender | no fix listed | UBUNTU-CVE-2025-54874 |
| Ubuntu | 24.04:LTS | openjpeg2 | 2.5.0-2ubuntu0.4 | USN-7757-1 |
| Ubuntu | 25.10, 26.04:LTS | openjpeg2 | 2.5.3-2.1 | UBUNTU-CVE-2025-54874 |
| Ubuntu | 25.10, 26.10 | blender, texmaker, qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2025-54874 |
| Ubuntu | 26.04:LTS | blender, texmaker | no fix listed | UBUNTU-CVE-2025-54874 |
| Ubuntu | Pro:18.04:LTS | openjpeg2 | 2.3.0-2+deb10u2ubuntu0.1~esm5 | USN-7757-1 |
| Ubuntu | Pro:18.04:LTS, Pro:20.04:LTS, Pro:22.04:LTS and 1 more | texmaker, qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2025-54874 |
| Ubuntu | Pro:20.04:LTS | openjpeg2 | 2.3.1-1ubuntu4.20.04.4+esm1 | USN-7757-1 |
| Ubuntu | Pro:26.04:LTS | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2025-54874 |
| Red Hat | enterprise_linux:10.0 | openjpeg2, openjpeg2-devel, openjpeg2-tools and 3 more | 0:2.5.2-4.el10_0.1 | RHSA-2025:13944 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | openjpeg2 | 2.5.3-160000.4.1 | SUSE-SU-2026:21995-1 |
| openSUSE | Leap 16.0 | chromium | 142.0.7444.162-bp160.1.1 | openSUSE-SU-2025:20076-1 |
| openSUSE | Tumbleweed | chromium | 139.0.7258.66-1.1 | openSUSE-SU-2025:15421-1 |
| AlmaLinux | 10 | openjpeg2, openjpeg2-devel, openjpeg2-tools | 2.5.2-4.el10_0.1 | ALSA-2025:13944 |
| Rocky Linux | 10 | openjpeg2 | 0:2.5.2-4.el10_0.1 | RLSA-2025:13944 |
| Alpine | v3.21, v3.22 | openjpeg | 2.5.4-r0 | ALPINE-CVE-2025-54874 |
| Alpine | v3.23, v3.24 | openjpeg | 2.5.3-r1 | ALPINE-CVE-2025-54874 |
| Alpine | v3.23, v3.24 | qt6-qtwebengine | 6.9.2-r1 | ALPINE-CVE-2025-54874 |
| Azure Linux | 2 | openjpeg2 | no fix listed | AZL-66114 |
| Azure Linux | 3 | openjpeg2 | no fix listed | AZL-66090 |
| Alpaquita | 25, stream | openjpeg | 2.5.3-r1 | BELL-CVE-2025-54874 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Important.
This vulnerability is Important rather than Moderate because it allows a malformed or truncated data stream to trigger a heap-based out-of-bounds (OOB) write, which directly corrupts memory. Unlike read-based issues or null dereference crashes that typically lead to denial of service, an OOB write has the potential to alter program control flow, leading to arbitrary code execution under certain conditions. The affected pointer p_image is dereferenced without verifying the success of the header parsing routine, and if it's left uninitialized due to a parsing failure, writing to it results in undefined behavior.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | openjpeg2-0:2.5.2-4.el10_0.1 | Fixed 2025-08-18 | RHSA-2025:13944 |
| Red Hat Enterprise Linux 6 | openjpeg | Out of support scope | |
| Red Hat Enterprise Linux 7 | openjpeg | Not affected | |
| Red Hat Enterprise Linux 7 | openjpeg2 | Not affected | |
| Red Hat Enterprise Linux 8 | openjpeg2 | Not affected | |
| Red Hat Enterprise Linux 9 | openjpeg2 | Not affected | |
| Red Hat Enterprise Linux AI (RHEL AI) | libpdfium | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-54874.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.