Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Uclouvain | Openjpeg | <= 2.5.3 |
Related Weaknesses (CWE)
References
- https://github.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00daPatch
- https://github.com/uclouvain/openjpeg/pull/1573Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2025-057_OpenCVExploitThird Party Advisory
FAQ
What is CVE-2025-54874?
CVE-2025-54874 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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...
How severe is CVE-2025-54874?
CVE-2025-54874 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-54874?
Check the references section above for vendor advisories and patch information. Affected products include: Uclouvain Openjpeg.