CVE-2009-0689
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…
- Published
- Updated
- Reserved
- Assigned by
- certcc
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 29.4% · top 1.8% of all CVEs (5 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
References (53)
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gdtoa/gdtoaimp.h (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://secunia.com/secunia_research/2009-35/ (opens in a new tab)x_refsource_MISCx_transferred
- https://bugzilla.mozilla.org/show_bug.cgi?id=516862 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20090625 Multiple Vendors libc/gdtoa printf(3) Array Overrun (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- 20091120 SeaMonkey 1.1.8 Remote Array Overrun (Arbitrary code execution) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20091211 Thunderbird 2.0.0.23 (lib) Remote Array Overrun (Arbitrary code execution) (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- RHSA-2010:0153 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 20091211 Flock 2.5.2 Remote Array Overrun (Arbitrary code execution) (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- MDVSA-2009:330 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 39001 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SUSE-SR:2009:018 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 20091120 K-Meleon 1.5.3 Remote Array Overrun (Arbitrary code execution) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://support.apple.com/kb/HT4225 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20091120 Opera 10.01 Remote Array Overrun (Arbitrary code execution) (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- 20091120 K-Meleon 1.5.3 Remote Array Overrun (Arbitrary code execution) (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- http://www.mozilla.org/security/announce/2009/mfsa2009-59.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- ADV-2010-0094 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- ADV-2010-0648 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- ADV-2010-0650 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 272909 (opens in a new tab)vendor-advisoryx_refsource_SUNALERTx_transferred
- ADV-2009-3299 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- RHSA-2009:1601 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 20091210 Camino 1.6.10 Remote Array Overrun (Arbitrary code execution) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- APPLE-SA-2010-03-29-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- [debian-lts-announce] 20181101 [SECURITY] [DLA 1564-1] mono security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- SUSE-SR:2010:013 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- RHSA-2014:0312 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 37683 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 38977 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.opera.com/support/kb/view/942/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20091030 Multiple BSD printf(1) and multiple dtoa/*printf(3) vulnerabilities (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- RHSA-2010:0154 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://support.apple.com/kb/HT4077 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.mozilla.org/show_bug.cgi?id=516396 (opens in a new tab)x_refsource_CONFIRMx_transferred
- oval:org.mitre.oval:def:6528 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 37682 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- oval:org.mitre.oval:def:9541 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 38066 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- USN-915-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 20091210 Flock 2.5.2 Remote Array Overrun (Arbitrary code execution) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHSA-2014:0311 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- ADV-2009-3297 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 20091211 Camino 1.6.10 Remote Array Overrun (Arbitrary code execution) (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- 37431 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20100108 MacOS X 10.5/10.6 libc/strtod(3) buffer overflow (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- 20091120 SeaMonkey 1.1.8 Remote Array Overrun (Arbitrary code execution) (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- 1022478 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- APPLE-SA-2010-06-21-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gdtoa/misc.c (opens in a new tab)x_refsource_CONFIRMx_transferred
- ADV-2009-3334 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 20091211 Sunbird 0.9 Array Overrun (code execution) (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- MDVSA-2009:294 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 35510 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2009-0689)Record last updated .