Out-of-Bounds Affecting libtiff package, versions [,4.0.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.88% (83rd 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-LIBTIFF-2317823
  • published14 Dec 2021
  • disclosed13 Aug 2012
  • creditUnknown

Introduced: 13 Aug 2012

CVE-2012-3401  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade libtiff to version 4.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The t2p_read_tiff_init function in tiff2pdf (tools/tiff2pdf.c) in LibTIFF 4.0.2 and earlier does not properly initialize the T2P context struct pointer in certain error conditions, which allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted TIFF image that triggers a heap-based buffer overflow.

References

CVSS Scores

version 3.1