Back to CVE records
Medium 6.6Published Aug 5, 2025

CVE-2025-54874OpenJPEG allows OOB heap memory write in opj_jp2_read_header

Updated under an hour ago ()

Does this affect you?

It affects uclouvain openjpeg. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
6.6 MEDIUM (v4.0, CNA)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
Weakness (CWE)
CWE-457
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Modified
Record last updated
Feb 26, 2026
First seen by InfoSec Signals
Nov 1, 2026

Affected products

Affected products
uclouvain openjpeg
uclouvain:openjpeg (from the name)
from 2.5.1, <= 2.5.3
CNA record
uclouvain openjpeg
uclouvain:openjpeg
through 2.5.3
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .