Heap-based Buffer Overflow Affecting openjpeg2-debugsource package, versions <0:2.4.0-8.el9


Severity

Recommended
0.0
medium
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.26% (17th 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-ROCKY9-OPENJPEG2DEBUGSOURCE-13292048
  • published5 Oct 2025
  • disclosed9 Jan 2025

Introduced: 9 Jan 2025

CVE-2024-56827  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 openjpeg2-debugsource to version 0:2.4.0-8.el9 or higher.
This issue was patched in RLSA-2025:7309.

NVD Description

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

A flaw was found in the OpenJPEG project. A heap buffer overflow condition may be triggered when certain options are specified while using the opj_decompress utility. This can lead to an application crash or other undefined behavior.

CVSS Base Scores

version 3.1