Use of Uninitialized Variable Affecting openjpeg2-devel package, versions <0:2.5.2-4.el10_0.1


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.63% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY10-OPENJPEG2DEVEL-13293983
  • published5 Oct 2025
  • disclosed5 Aug 2025

Introduced: 5 Aug 2025

CVE-2025-54874  (opens in a new tab)
CWE-457  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:10 openjpeg2-devel to version 0:2.5.2-4.el10_0.1 or higher.
This issue was patched in RLSA-2025:13944.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openjpeg2-devel package and not the openjpeg2-devel package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1