Integer Overflow or Wraparound The advisory has been revoked - it doesn't affect any version of package openjpeg  (opens in a new tab)


Threat Intelligence

EPSS
2.33% (82nd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-OPENJPEG-10077961
  • published8 May 2025
  • disclosed19 Jan 2018
  • creditUnknown

Introduced: 19 Jan 2018

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

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. 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.

References