---
title: "CVE-2017-9935\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2017-9935?format=md
keywords: index, follow
---

# CVE-2017-9935

Publication date 26 June 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2017-9935?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2017-9935?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| tiff | 17.10 artful | Fixed 4.0.8-5ubuntu0.1 |
| 17.04 zesty | Ignored end of life |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Fixed 4.0.6-1ubuntu0.4 |
| 14.04 LTS trusty | Fixed 4.0.3-7ubuntu0.9 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2017-9935?format=md#patch-details)

## Notes

---

### [ratliff](https://launchpad.net/~ratliff)

reproducer errors out rather than crashing on trusty & zesty

---

### [sbeattie](https://launchpad.net/~sbeattie)

possibly only affects tiff tools, not libtiff itself

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

patch in upstream bug
we will not be fixing this issue in precise/esm

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| tiff | * Upstream:   [3dd8f6a](https://gitlab.com/libtiff/libtiff/commit/3dd8f6a357981a4090f126ab9025056c938b6940) * Upstream:   [d4f2136](https://gitlab.com/libtiff/libtiff/commit/d4f213636b6f950498a1386083199bd7f65676b9) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9935)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-9935)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-9935)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-9935)

### Related Ubuntu Security Notices (USN)

+ [USN-3606-1](https://usn.ubuntu.com/USN-3606-1)
+ LibTIFF vulnerabilities
+ 26 March 2018

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2017-9935>
