CVE-2009-0689
Description
Array index error in the (1) dtoa implementation in dtoa.c (aka pdtoa.c) and the (2) gdtoa (aka new dtoa) implementation in gdtoa/misc.c in libc, as used in multiple operating systems and products including in FreeBSD 6.4 and 7.2, NetBSD 5.0, OpenBSD 4.5, Mozilla Firefox 3.0.x before 3.0.15 and 3.5.x before 3.5.4, K-Meleon 1.5.3, SeaMonkey 1.1.8, and other products, allows context-dependent attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large precision value in the format argument to a printf function, which triggers incorrect memory allocation and a heap-based buffer overflow during conversion to a floating-point number.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
29.381%
chance of exploitation in the next 30 days
higher than 98.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 11
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2009-05-26First Exploit-DB entry (EDB-ID 33058)36 days before publication
- 2009-07-01Published by the CNA12:26 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 33480 | dos | linux | 2010-01-08 | yes |
| EDB-ID 33479 | dos | osx | 2010-01-08 | yes |
| EDB-ID 33364 | remote | linux | 2009-11-20 | yes |
| EDB-ID 33363 | remote | multiple | 2009-11-20 | yes |
| EDB-ID 10187 | dos | bsd | 2009-11-19 | yes |
Affected products
| Vendor | Product |
|---|---|
| freebsd | freebsd |
| k-meleon_project | k-meleon |
| mozilla | firefox |
| mozilla | seamonkey |
| netbsd | netbsd |
| openbsd | openbsd |
References
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gdtoa/gdtoaimp.h
- http://securitytracker.com/id?1022478
- http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gdtoa/misc.c
- http://www.securityfocus.com/bid/35510
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://lists.apple.com/archives/security-announce/2010/Jun/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2009-11/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2010-06/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2014-0311.html
- http://rhn.redhat.com/errata/RHSA-2014-0312.html
- http://secunia.com/advisories/37431
- http://secunia.com/advisories/37682
- http://secunia.com/advisories/37683
- http://secunia.com/advisories/38066
- http://secunia.com/advisories/38977
- http://secunia.com/advisories/39001
- http://secunia.com/secunia_research/2009-35/
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-272909-1
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:294
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:330
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2009-0689'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2009-0689'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2009-0689'curl 'https://api.contrastcyber.com/cve_products/CVE-2009-0689'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).