Integer Overflow or Wraparound Affecting openjpeg2-devel package, versions <0:2.4.0-4.el8


Severity

Recommended
0.0
medium
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.43% (75th 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-ROCKY8-OPENJPEG2DEVEL-3208757
  • published5 Jan 2023
  • disclosed19 Jan 2018

Introduced: 19 Jan 2018

CVE-2018-5785  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 openjpeg2-devel to version 0:2.4.0-4.el8 or higher.
This issue was patched in RLSA-2021:4251.

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:8 relevant fixed versions and status.

In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.

CVSS Scores

version 3.1