CVE-2025-54874 MEDIUM

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

Vendor Uclouvain
Product openjpeg
Weakness CWE-457
Published August 5, 2025
Last update February 26, 2026

CVSS base score

6.6/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 5, 2025 CVE published
February 26, 2026 Record updated