CVE-2009-0689
MEDIUM 6.8CVSS 2.0Array 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.
- Published
- 1 Jul 2009
- Last modified
- 16 Jun 2026
- Assigned by
- cret@cert.org
- NVD status
- Modified
- Weakness
- CWE-119
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | k-meleon_project | k-meleoncpe:2.3:a:k-meleon_project:k-meleon:1.5.3:*:*:*:*:*:*:* |
= 1.5.3 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.1:*:*:*:*:*:*:* |
= 3.0.1 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.2:*:*:*:*:*:*:* |
= 3.0.2 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.3:*:*:*:*:*:*:* |
= 3.0.3 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.4:*:*:*:*:*:*:* |
= 3.0.4 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.5:*:*:*:*:*:*:* |
= 3.0.5 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.6:*:*:*:*:*:*:* |
= 3.0.6 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.7:*:*:*:*:*:*:* |
= 3.0.7 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.8:*:*:*:*:*:*:* |
= 3.0.8 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.9:*:*:*:*:*:*:* |
= 3.0.9 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.10:*:*:*:*:*:*:* |
= 3.0.10 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.11:*:*:*:*:*:*:* |
= 3.0.11 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.12:*:*:*:*:*:*:* |
= 3.0.12 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.13:*:*:*:*:*:*:* |
= 3.0.13 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.0.14:*:*:*:*:*:*:* |
= 3.0.14 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.5:*:*:*:*:*:*:* |
= 3.5 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.5.1:*:*:*:*:*:*:* |
= 3.5.1 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.5.2:*:*:*:*:*:*:* |
= 3.5.2 | |
| NVD | mozilla | firefoxcpe:2.3:a:mozilla:firefox:3.5.3:*:*:*:*:*:*:* |
= 3.5.3 | |
| NVD | mozilla | seamonkeycpe:2.3:a:mozilla:seamonkey:1.1.8:*:*:*:*:*:*:* |
= 1.1.8 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:6.4:*:*:*:*:*:*:* |
= 6.4 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:6.4:release:*:*:*:*:*:* |
= 6.4 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:6.4:release_p2:*:*:*:*:*:* |
= 6.4 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:6.4:release_p3:*:*:*:*:*:* |
= 6.4 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:6.4:release_p4:*:*:*:*:*:* |
= 6.4 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:6.4:release_p5:*:*:*:*:*:* |
= 6.4 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:6.4:stable:*:*:*:*:*:* |
= 6.4 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:7.2:*:*:*:*:*:*:* |
= 7.2 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:7.2:pre-release:*:*:*:*:*:* |
= 7.2 | |
| NVD | freebsd | freebsdcpe:2.3:o:freebsd:freebsd:7.2:stable:*:*:*:*:*:* |
= 7.2 | |
| NVD | netbsd | netbsdcpe:2.3:o:netbsd:netbsd:5.0:*:*:*:*:*:*:* |
= 5.0 | |
| NVD | openbsd | openbsdcpe:2.3:o:openbsd:openbsd:4.5:*:*:*:*:*:*:* |
= 4.5 |
References
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gdtoa/gdtoaimp.h · Patch
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html · Vendor Advisory
- 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 · Vendor Advisory
- http://secunia.com/advisories/37682 · Vendor Advisory
- http://secunia.com/advisories/37683 · Vendor Advisory
- http://secunia.com/advisories/38066 · Vendor Advisory
- http://secunia.com/advisories/38977 · Vendor Advisory
- http://secunia.com/advisories/39001 · Vendor Advisory
- http://secunia.com/secunia_research/2009-35/ · Vendor Advisory
- http://securityreason.com/achievement_securityalert/63 · Exploit
- http://securityreason.com/achievement_securityalert/69
- http://securityreason.com/achievement_securityalert/71
- http://securityreason.com/achievement_securityalert/72
- http://securityreason.com/achievement_securityalert/73
- http://securityreason.com/achievement_securityalert/75
- http://securityreason.com/achievement_securityalert/76
- http://securityreason.com/achievement_securityalert/77
- http://securityreason.com/achievement_securityalert/78
- http://securityreason.com/achievement_securityalert/81
- http://securitytracker.com/id?1022478 · Patch
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-272909-1
- http://support.apple.com/kb/HT4077
- http://support.apple.com/kb/HT4225
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:294
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:330
- http://www.mozilla.org/security/announce/2009/mfsa2009-59.html · Vendor Advisory
- http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gdtoa/misc.c · Patch, Vendor Advisory
- http://www.opera.com/support/kb/view/942/
- http://www.redhat.com/support/errata/RHSA-2009-1601.html
- http://www.redhat.com/support/errata/RHSA-2010-0153.html
- http://www.redhat.com/support/errata/RHSA-2010-0154.html
- http://www.securityfocus.com/archive/1/507977/100/0/threaded
- http://www.securityfocus.com/archive/1/507979/100/0/threaded
- http://www.securityfocus.com/archive/1/508417/100/0/threaded
- http://www.securityfocus.com/archive/1/508423/100/0/threaded
- http://www.securityfocus.com/bid/35510 · Exploit, Patch
- http://www.ubuntu.com/usn/USN-915-1
- http://www.vupen.com/english/advisories/2009/3297 · Vendor Advisory
- http://www.vupen.com/english/advisories/2009/3299 · Vendor Advisory
- http://www.vupen.com/english/advisories/2009/3334 · Vendor Advisory
- http://www.vupen.com/english/advisories/2010/0094 · Vendor Advisory
- http://www.vupen.com/english/advisories/2010/0648 · Vendor Advisory
- http://www.vupen.com/english/advisories/2010/0650 · Vendor Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=516396
- https://bugzilla.mozilla.org/show_bug.cgi?id=516862
- https://lists.debian.org/debian-lts-announce/2018/11/msg00001.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6528
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9541
History
- 25 Nov 2026 20:15 UTC · NVD: first stored (published 1 Jul 2009)