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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.17% (80th 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-UNMANAGED-UCLOUVAINOPENJPEG-2318852
  • published14 Dec 2021
  • disclosed26 Jun 2019
  • creditUnknown

Introduced: 26 Jun 2019

CVE-2018-20847  (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 due to improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.

CVSS Base Scores

version 3.1