What’s Vulnerable › Vulnerabilities
CVE-2025-54874: OpenJPEG allows OOB heap memory write in opj_jp2_read_header
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-08-05 · updated 2026-06-17
- Weakness: CWE-457
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
- uclouvain openjpeg: through 2.5.3
References
- https://github.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00da4fd2d
- https://github.com/uclouvain/openjpeg/pull/1573
- https://securitylab.github.com/advisories/GHSL-2025-057_OpenCV
Get alerted when CVE-2025-54874 or the next vulnerability affects your stack