Out-of-bounds Read Affecting libtiff package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.45% (76th 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-CENTOS7-LIBTIFF-1989104
  • published26 Jul 2021
  • disclosed11 Jul 2017

Introduced: 11 Jul 2017

CVE-2017-9935  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 libtiff.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtiff package and not the libtiff package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution.