Out-of-bounds Read Affecting tiff package, versions <4.0.8-2+deb9u2
Snyk CVSS
Threat Intelligence
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 ID SNYK-DEBIAN9-TIFF-405732
- published 26 Jun 2017
- disclosed 26 Jun 2017
Introduced: 26 Jun 2017
CVE-2017-9935 Open this link in a new tabHow to fix?
Upgrade Debian:9
tiff
to version 4.0.8-2+deb9u2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream tiff
package and not the tiff
package as distributed by Debian
.
See How to fix?
for Debian:9
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.
References
- https://security-tracker.debian.org/tracker/CVE-2017-9935
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9935
- https://www.debian.org/security/2018/dsa-4100
- https://lists.debian.org/debian-lts-announce/2017/12/msg00008.html
- http://bugzilla.maptools.org/show_bug.cgi?id=2704
- http://www.securityfocus.com/bid/99296
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-9935
- https://usn.ubuntu.com/3606-1/