Integer Overflow or Wraparound Affecting mdadams/jasper package, versions [,1.900.23)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.72% (77th 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-MDADAMSJASPER-2366898
  • published26 Jan 2022
  • disclosed23 Mar 2017
  • creditUnknown

Introduced: 23 Mar 2017

CVE-2016-9262  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade mdadams/jasper to version 1.900.23 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Multiple integer overflows in the (1) jas_realloc function in base/jas_malloc.c and (2) mem_resize function in base/jas_stream.c in JasPer before 1.900.22 allow remote attackers to cause a denial of service via a crafted image, which triggers use after free vulnerabilities.

References

CVSS Base Scores

version 3.1