OpenJPEG
OpenJPEG allows OOB heap memory write in opj_jp2_read_header
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub · +1 suspicious, not counted
CVSS9.8critical · scored by NVD · CWE-457
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
uclouvain openjpeg
- >= 2.5.1, <= 2.5.3
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory github.com/uclouvain/openjpeg/commit/f809b80c6…
- Patch github.com/uclouvain/openjpeg/pull/1573
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 suspicious or fake
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| cyhe50/cve-2025-54874-poc | 19 Oct 2025 +75 d | 0 | Suspicious · score 60
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.