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

# CVE-2009-1687

Publication date 10 June 2009

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The JavaScript garbage collector in WebKit in Apple Safari before 4.0,
iPhone OS 1.0 through 2.2.1, and iPhone OS for iPod touch 1.1 through 2.2.1
does not properly handle allocation failures, which allows remote attackers
to execute arbitrary code or cause a denial of service (memory corruption
and application crash) via a crafted HTML document that triggers write
access to an "offset of a NULL pointer."

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| kde4libs | 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Not affected |
| 9.04 jaunty | Fixed 4:4.2.2-0ubuntu5.1 |
| 8.10 intrepid | Fixed 4:4.1.4-0ubuntu1~intrepid1.2 |
| 8.04 LTS hardy | Ignored end of life |
| 6.06 LTS dapper | Not in release |
| kdelibs | 11.04 natty | Fixed 4:3.5.10.dfsg.1-2ubuntu5 |
| 10.10 maverick | Fixed 4:3.5.10.dfsg.1-2ubuntu5 |
| 10.04 LTS lucid | Fixed 4:3.5.10.dfsg.1-2ubuntu5 |
| 9.10 karmic | Fixed 4:3.5.10.dfsg.1-2ubuntu5 |
| 9.04 jaunty | Fixed 4:3.5.10.dfsg.1-1ubuntu8.1 |
| 8.10 intrepid | Fixed 4:3.5.10-0ubuntu6.1 |
| 8.04 LTS hardy | Fixed 4:3.5.10-0ubuntu1~hardy1.2 |
| 6.06 LTS dapper | Ignored end of life |
| qt4-x11 | 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Not affected |
| 9.04 jaunty | Fixed 4.5.0-0ubuntu4.3 |
| 8.10 intrepid | Fixed 4.4.3-0ubuntu1.4 |
| 8.04 LTS hardy | Not affected |
| 6.06 LTS dapper | Not affected |
| webkit | 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Not affected |
| 9.04 jaunty | Fixed 1.0.1-4ubuntu0.1 |
| 8.10 intrepid | Fixed 1.0.1-2ubuntu0.2 |
| 8.04 LTS hardy | Ignored end of life |
| 6.06 LTS dapper | 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)
* [Patch details](https://ubuntu.com/security/CVE-2009-1687?format=md#patch-details)

## Notes

---

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

webkit is a fork of khtml from kdelibs. kdelibs5 is farther from
it, while qt4-x11 attempts to unify khtml and webkit

---

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

webkit code is at a different location in jaunty-

### 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 |
| --- | --- |
| kde4libs | * Vendor:   <https://bugzilla.redhat.com/attachment.cgi?id=355170> |
| kdelibs | * Vendor:   <http://security.debian.org/pool/updates/main/k/kdelibs/kdelibs_3.5.10.dfsg.1-0lenny2.diff.gz> |
| webkit | * Upstream:   <http://trac.webkit.org/changeset/41854> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-822-1](https://usn.ubuntu.com/USN-822-1)
+ KDE-Libs vulnerabilities
+ 24 August 2009

+ [USN-836-1](https://usn.ubuntu.com/USN-836-1)
+ WebKit vulnerabilities
+ 23 September 2009

+ [USN-857-1](https://usn.ubuntu.com/USN-857-1)
+ Qt vulnerabilities
+ 10 November 2009

### Other references

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