Home / uclouvain / openjpeg / CVE-2025-54874
CVE-2025-54874: is it exploited, and which versions of uclouvain openjpeg are affected and fixed?
CVE-2025-54874 is an use of uninitialized variable vulnerability in uclouvain openjpeg. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: openjpeg >= 2.5.1, <= 2.5.3 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.6, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-54874?
OpenJPEG allows OOB heap memory write in opj_jp2_read_header
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.
From the CVE record by GitHub_M, last updated February 26, 2026, 17:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| uclouvain | openjpeg | >= 2.5.1, <= 2.5.3 |
As the CVE record by GitHub_M states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| uclouvain | openjpeg | through 2.5.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 09:40 UTC.
How severe is CVE-2025-54874?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.6 | CVSS 4.0 | 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:P | GitHub_M |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-54874 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, January 22, 2026)
- EPSS
- 0.66% probability of exploitation activity in the next 30 days, percentile 52.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-457 Use of Uninitialized Variable
Where are the vendor advisories and references?
- https://github.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00da4fd2d x_refsource_CONFIRM
- https://github.com/uclouvain/openjpeg/pull/1573 x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2025-057_OpenCV x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 31, 2025
- Published
- August 5, 2025, 14:33 UTC
- CVE record updated
- February 26, 2026, 17:49 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 09:40 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect openjpeg?
- Apr 13, 2026CVE-2026-6192 uclouvain openjpeg: integer overflow
- Aug 7, 2025CVE-2025-50952 Uclouvain Openjpeg: NULL pointer dereference (crash)
- Apr 14, 2021CVE-2021-29338 Uclouvain Openjpeg: integer overflow
- Jun 29, 2020CVE-2020-15389 Uclouvain Openjpeg: use after free
- Feb 20, 2020CVE-2016-3182 Uclouvain Openjpeg: memory corruption (buffer overflow)
- Jan 28, 2020CVE-2020-8112 Uclouvain Openjpeg: out-of-bounds write (memory corruption)
- Jan 13, 2020CVE-2020-6851 Uclouvain Openjpeg: out-of-bounds write (memory corruption)
- Sep 5, 2019CVE-2018-21010 Uclouvain Openjpeg: out-of-bounds write (memory corruption)
Questions about CVE-2025-54874
Is CVE-2025-54874 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.66% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of uclouvain openjpeg are affected by CVE-2025-54874?
openjpeg >= 2.5.1, <= 2.5.3, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-54874?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-54874?
Medium (6.6, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-54874?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.