CVE Vulnerabilities

CVE-2025-54874

Use of Uninitialized Variable

Published: Aug 05, 2025 | Modified: Aug 05, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
8 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Ubuntu
MEDIUM

OpenJPEG is an open-source JPEG 2000 codec. In OpenJPEG 2.5.3 and earlier, 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.

Weakness

The code uses a variable that has not been initialized, leading to unpredictable or unintended results.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 10 RedHat openjpeg2-0:2.5.2-4.el10_0.1 *
Openjpeg2 Ubuntu devel *
Openjpeg2 Ubuntu plucky *
Openjpeg2 Ubuntu upstream *

Potential Mitigations

References