Integer Overflow or Wraparound Affecting libtiff package, versions [3.8.0,4.0.0alpha4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.15% (90th 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-LIBTIFF-2317804
  • published14 Dec 2021
  • disclosed14 Jul 2009
  • creditUnknown

Introduced: 14 Jul 2009

CVE-2009-2347  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade libtiff to version 4.0.0alpha4 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Multiple integer overflows in inter-color spaces conversion tools in libtiff 3.8 through 3.8.2, 3.9, and 4.0 allow context-dependent attackers to execute arbitrary code via a TIFF image with large (1) width and (2) height values, which triggers a heap-based buffer overflow in the (a) cvt_whole_image function in tiff2rgba and (b) tiffcvt function in rgb2ycbcr.

CVSS Base Scores

version 3.1