Paper/Archive/CVE-2025-54874

CVE-2025-54874

uclouvain openjpeg — OpenJPEG allows OOB heap memory write in opj_jp2_read_header

Description · from the CVE record

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

ProductAffectedFixed inSource
openjpeg>= 2.5.1, <= 2.5.3–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)6.6CVSS: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
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/uclouvain/openjpeg/commit/f809b80c67717c152a5ad30bf06774f00da4fd2drefgithub.com/uclouvain/openjpeg/pull/1573refsecuritylab.github.com/advisories/GHSL-2025-057_OpenCV