---
title: "CVE-2012-3401\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-2012-3401?format=md
keywords: index, follow
---

# CVE-2012-3401

Publication date 19 July 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

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.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| tiff | 12.04 LTS precise | Fixed 3.9.5-2ubuntu1.2 |
| 11.10 oneiric | Fixed 3.9.5-1ubuntu1.3 |
| 11.04 natty | Fixed 3.9.4-5ubuntu6.3 |
| 10.04 LTS lucid | Fixed 3.9.2-2ubuntu0.10 |
| 8.04 LTS hardy | Fixed 3.8.2-7ubuntu3.13 |
| tiff3 | 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

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

not included in 4.0.2
tiff2pdf is not packaged in tiff3 in quantal

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1511-1](https://usn.ubuntu.com/USN-1511-1)
+ tiff vulnerability
+ 19 July 2012

### Other references

* <http://seclists.org/oss-sec/2012/q3/101>
* <https://www.cve.org/CVERecord?id=CVE-2012-3401>
