Integer Overflow or Wraparound Affecting openjpeg2 package, versions <2.3.0-150000.3.5.1


Severity

Recommended
low

Based on SUSE Linux Enterprise Server 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-SLES153-OPENJPEG2-2768445
  • published20 Apr 2022
  • disclosed19 Apr 2022

Introduced: 19 Apr 2022

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

How to fix?

Upgrade SLES:15.3 openjpeg2 to version 2.3.0-150000.3.5.1 or higher.

NVD Description

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