Use of Uninitialized Variable Affecting openjpeg-dev package, versions <2.5.4-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-MINIMOSLATEST-OPENJPEGDEV-13322316
  • published6 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 Minimos:latest openjpeg-dev to version 2.5.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openjpeg-dev package and not the openjpeg-dev package as distributed by Minimos. See How to fix? for Minimos:latest 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