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

# CVE-2009-5022

Publication date 20 April 2011

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Heap-based buffer overflow in tif\_ojpeg.c in the OJPEG decoder in LibTIFF
before 3.9.5 allows remote attackers to execute arbitrary code via a
crafted TIFF file.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| tiff | 10.10 maverick | Fixed 3.9.4-2ubuntu0.4 |
| 10.04 LTS lucid | Fixed 3.9.2-2ubuntu0.7 |
| 9.10 karmic | Not affected |
| 8.04 LTS hardy | Not affected |
| 6.06 LTS dapper | Not affected |

---

* [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)

OJPEG is disabled on dapper, hardy and karmic

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1120-1](https://usn.ubuntu.com/USN-1120-1)
+ tiff vulnerability
+ 21 April 2011

### Other references

* <http://www.remotesensing.org/libtiff/v3.9.5.html>
* <https://www.cve.org/CVERecord?id=CVE-2009-5022>
