Use of Uninitialized Variable Affecting openjpeg package, versions <2.5.3-r2


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-CHAINGUARDLATEST-OPENJPEG-11785500
  • published13 Aug 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 Chainguard openjpeg to version 2.5.3-r2 or higher.

NVD Description

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