Integer Overflow or Wraparound Affecting uclouvain/openjpeg package, versions [,2.3.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.72% (72nd 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-UNMANAGED-UCLOUVAINOPENJPEG-2318830
  • published14 Dec 2021
  • disclosed16 Jan 2018
  • creditUnknown

Introduced: 16 Jan 2018

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

How to fix?

Upgrade uclouvain/openjpeg to version 2.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.

References

CVSS Base Scores

version 3.1