CVE-2025-54874

CRITICAL
Published Aug 5, 2025 Modified Sep 26, 2025 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.

CVSS v3.1 Score

9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-457 CWE-457

Affected Products

Vendor Product
uclouvain openjpeg

References

Frequently Asked Questions

What is 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. It has a CVSS v3.1 base score of 9.8 (CRITICAL).
How severe is CVE-2025-54874? +
CVE-2025-54874 has a CVSS v3.1 score of 9.8 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2025-54874? +
CVE-2025-54874 affects products from uclouvain, specifically: openjpeg. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-54874? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-54874 — free, no signup required.

Start Free Scan