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

# CVE-2009-2687

Publication date 5 August 2009

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The exif\_read\_data function in the Exif module in PHP before 5.2.10 allows
remote attackers to cause a denial of service (crash) via a malformed JPEG
image with invalid offset fields, a different issue than CVE-2005-3353.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php4 | 9.10 karmic | Not in release |
| 9.04 jaunty | Not in release |
| 8.10 intrepid | Not in release |
| 8.04 LTS hardy | Not in release |
| 6.06 LTS dapper | Ignored end of life |
| php5 | 9.10 karmic | Not affected |
| 9.04 jaunty | Fixed 5.2.6.dfsg.1-3ubuntu4.2 |
| 8.10 intrepid | Fixed 5.2.6-2ubuntu4.3 |
| 8.04 LTS hardy | Fixed 5.2.4-2ubuntu5.7 |
| 6.06 LTS dapper | Fixed 5.1.2-1ubuntu3.15 |

---

* [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-2009-2687?format=md#patch-details)

## Notes

---

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

PoC in php bug

### 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 |
| --- | --- |
| php5 | * Upstream:   <http://svn.php.net/viewvc?view=revision&revision=281307> * Upstream:   <http://svn.php.net/viewvc?view=revision&revision=281314> * Vendor:   <http://git.debian.org/?p=pkg-php/php.git;a=commitdiff;h=8615d344b20548e27ffbddd78e303af8c9a90859> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-824-1](https://usn.ubuntu.com/USN-824-1)
+ PHP vulnerability
+ 24 August 2009

### Other references

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