CVE-2025-54874

OpenJPEG allows OOB heap memory write in opj_jp2_read_header

State
Published
Severity
6.6 Medium
Published
Aug 5, 2025
Updated
Feb 26, 2026
Reserved
Jul 31, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.6 MediumCVSS: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:PGitHub_M

Weaknesses

  • CWE-457 Use of Uninitialized Variable

Affected Products

ProductVersions
openjpeguclouvain
  • >= 2.5.1, <= 2.5.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.