Vulnerability in Uclouvain Openjpeg
CVE-2025-54874
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (48.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 48.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: -0.000
Affected products
- Uclouvain Openjpeg — versions >= 2.5.1, <= 2.5.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00da4fd2d (Patch)
- github.com/uclouvain/openjpeg/pull/1573 (Third Party Advisory)
- securitylab.github.com/advisories/GHSL-2025-057_OpenCV (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-54874?
- CVE-2025-54874 is a critical-severity vulnerability in Uclouvain Openjpeg, classified under CWE-457. CVSS score: 9.8/10. Published 2025-08-05.
- How severe is CVE-2025-54874?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2025-54874 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.