Array index error in the (1) dtoa implementation in dtoa.c (aka pdtoa.c) and the (2)…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Partial Red Hat: 15 fixed, 2 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 32
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:k-meleon_project:k-meleon:1.5.3:*:*:*:*:*:*:* | 1.5.3 | Vulnerable | K-meleon Project |
| cpe:2.3:a:mozilla:firefox:3.0.1:*:*:*:*:*:*:* | 3.0.1 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.2:*:*:*:*:*:*:* | 3.0.2 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.3:*:*:*:*:*:*:* | 3.0.3 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.4:*:*:*:*:*:*:* | 3.0.4 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.5:*:*:*:*:*:*:* | 3.0.5 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.6:*:*:*:*:*:*:* | 3.0.6 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.7:*:*:*:*:*:*:* | 3.0.7 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.8:*:*:*:*:*:*:* | 3.0.8 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.9:*:*:*:*:*:*:* | 3.0.9 | Vulnerable | Mozilla |
- cpe:2.3:a:k-meleon_project:k-meleon:1.5.3:*:*:*:*:*:*:* Versions 1.5.3 Vulnerable ·K-meleon Project
- cpe:2.3:a:mozilla:firefox:3.0.1:*:*:*:*:*:*:* Versions 3.0.1 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.2:*:*:*:*:*:*:* Versions 3.0.2 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.3:*:*:*:*:*:*:* Versions 3.0.3 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.4:*:*:*:*:*:*:* Versions 3.0.4 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.5:*:*:*:*:*:*:* Versions 3.0.5 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.6:*:*:*:*:*:*:* Versions 3.0.6 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.7:*:*:*:*:*:*:* Versions 3.0.7 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.8:*:*:*:*:*:*:* Versions 3.0.8 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.9:*:*:*:*:*:*:* Versions 3.0.9 Vulnerable ·Mozilla
Show 22 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mozilla:firefox:3.0.10:*:*:*:*:*:*:* | 3.0.10 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.11:*:*:*:*:*:*:* | 3.0.11 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.12:*:*:*:*:*:*:* | 3.0.12 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.13:*:*:*:*:*:*:* | 3.0.13 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.0.14:*:*:*:*:*:*:* | 3.0.14 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.5:*:*:*:*:*:*:* | 3.5 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.5.1:*:*:*:*:*:*:* | 3.5.1 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.5.2:*:*:*:*:*:*:* | 3.5.2 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:3.5.3:*:*:*:*:*:*:* | 3.5.3 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:seamonkey:1.1.8:*:*:*:*:*:*:* | 1.1.8 | Vulnerable | Mozilla |
| cpe:2.3:o:freebsd:freebsd:6.4:*:*:*:*:*:*:* | 6.4 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:6.4:release:*:*:*:*:*:* | 6.4 release | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:6.4:release_p2:*:*:*:*:*:* | 6.4 release_p2 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:6.4:release_p3:*:*:*:*:*:* | 6.4 release_p3 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:6.4:release_p4:*:*:*:*:*:* | 6.4 release_p4 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:6.4:release_p5:*:*:*:*:*:* | 6.4 release_p5 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:6.4:stable:*:*:*:*:*:* | 6.4 stable | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:7.2:*:*:*:*:*:*:* | 7.2 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:7.2:pre-release:*:*:*:*:*:* | 7.2 pre-release | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:7.2:stable:*:*:*:*:*:* | 7.2 stable | Vulnerable | FreeBSD |
| cpe:2.3:o:netbsd:netbsd:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | NetBSD |
| cpe:2.3:o:openbsd:openbsd:4.5:*:*:*:*:*:*:* | 4.5 | Vulnerable | OpenBSD |
- cpe:2.3:a:mozilla:firefox:3.0.10:*:*:*:*:*:*:* Versions 3.0.10 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.11:*:*:*:*:*:*:* Versions 3.0.11 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.12:*:*:*:*:*:*:* Versions 3.0.12 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.13:*:*:*:*:*:*:* Versions 3.0.13 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.0.14:*:*:*:*:*:*:* Versions 3.0.14 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.5:*:*:*:*:*:*:* Versions 3.5 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.5.1:*:*:*:*:*:*:* Versions 3.5.1 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.5.2:*:*:*:*:*:*:* Versions 3.5.2 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:3.5.3:*:*:*:*:*:*:* Versions 3.5.3 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:seamonkey:1.1.8:*:*:*:*:*:*:* Versions 1.1.8 Vulnerable ·Mozilla
- cpe:2.3:o:freebsd:freebsd:6.4:*:*:*:*:*:*:* Versions 6.4 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:6.4:release:*:*:*:*:*:* Versions 6.4 release Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:6.4:release_p2:*:*:*:*:*:* Versions 6.4 release_p2 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:6.4:release_p3:*:*:*:*:*:* Versions 6.4 release_p3 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:6.4:release_p4:*:*:*:*:*:* Versions 6.4 release_p4 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:6.4:release_p5:*:*:*:*:*:* Versions 6.4 release_p5 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:6.4:stable:*:*:*:*:*:* Versions 6.4 stable Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:7.2:*:*:*:*:*:*:* Versions 7.2 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:7.2:pre-release:*:*:*:*:*:* Versions 7.2 pre-release Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:7.2:stable:*:*:*:*:*:* Versions 7.2 stable Vulnerable ·FreeBSD
- cpe:2.3:o:netbsd:netbsd:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·NetBSD
- cpe:2.3:o:openbsd:openbsd:4.5:*:*:*:*:*:*:* Versions 4.5 Vulnerable ·OpenBSD
Remediation
Red Hat 7 advisories
- RHSA-2014:0311 Released 2014-03-18 · Red Hat rating Criticalphp security update
- Red Hat Enterprise Linux (v. 5 server) php-5.1.6-44.el5_10, php-5.1.6-44.el5_10.i386, php-5.1.6-44.el5_10.ia64 +47
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php-5.1.6-44.el5_10, php-5.1.6-44.el5_10.i386, php-bcmath-5.1.6-44.el5_10 +35
- RHSA-2014:0312 Released 2014-03-18 · Red Hat rating Criticalphp security update
- Red Hat Enterprise Linux EUS (v. 5.9 server) php-5.1.6-40.el5_9.2, php-5.1.6-40.el5_9.2.i386, php-5.1.6-40.el5_9.2.ia64 +47
- Red Hat Enterprise Linux Long Life (v. 5.3 server) php-5.1.6-23.6.el5_3, php-5.1.6-23.6.el5_3.i386, php-5.1.6-23.6.el5_3.ia64 +47
- Red Hat Enterprise Linux Long Life (v. 5.6 server) php-5.1.6-27.el5_6.7, php-5.1.6-27.el5_6.7.i386, php-5.1.6-27.el5_6.7.ia64 +47
- RHSA-2010:0154 Released 2010-03-17 · Red Hat rating Moderatethunderbird security update
- Red Hat Enterprise Linux AS version 4 thunderbird-1.5.0.12-25.el4, thunderbird-1.5.0.12-25.el4.i386, thunderbird-1.5.0.12-25.el4.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 thunderbird-1.5.0.12-25.el4, thunderbird-1.5.0.12-25.el4.i386
- Red Hat Enterprise Linux ES version 4 thunderbird-1.5.0.12-25.el4, thunderbird-1.5.0.12-25.el4.i386, thunderbird-1.5.0.12-25.el4.ia64
- Red Hat Enterprise Linux WS version 4 thunderbird-1.5.0.12-25.el4, thunderbird-1.5.0.12-25.el4.i386, thunderbird-1.5.0.12-25.el4.ia64
Show 4 more Red Hat advisories
- RHSA-2010:0153 Released 2010-03-17 · Red Hat rating Moderatethunderbird security update
- Red Hat Enterprise Linux Desktop (v. 5 client) thunderbird-2.0.0.24-2.el5_4, thunderbird-2.0.0.24-2.el5_4.i386
- Red Hat Enterprise Linux Optional Productivity Applications (v. 5 server) thunderbird-2.0.0.24-2.el5_4, thunderbird-2.0.0.24-2.el5_4.i386
- RHSA-2009:1601 Released 2009-11-24 · Red Hat rating Criticalkdelibs security update
- Red Hat Enterprise Linux (v. 5 server) kdelibs-6:3.5.4-25.el5_4.1, kdelibs-6:3.5.4-25.el5_4.1.i386, kdelibs-6:3.5.4-25.el5_4.1.ia64 +9
- Red Hat Enterprise Linux AS version 4 kdelibs-6:3.3.1-17.el4_8.1, kdelibs-6:3.3.1-17.el4_8.1.i386, kdelibs-6:3.3.1-17.el4_8.1.ia64 +5
- Red Hat Enterprise Linux Desktop (v. 5 client) kdelibs-6:3.5.4-25.el5_4.1, kdelibs-6:3.5.4-25.el5_4.1.i386, kdelibs-apidocs-6:3.5.4-25.el5_4.1 +1
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) kdelibs-6:3.5.4-25.el5_4.1, kdelibs-devel-6:3.5.4-25.el5_4.1, kdelibs-devel-6:3.5.4-25.el5_4.1.i386
- Red Hat Enterprise Linux Desktop version 4 kdelibs-6:3.3.1-17.el4_8.1, kdelibs-6:3.3.1-17.el4_8.1.i386, kdelibs-devel-6:3.3.1-17.el4_8.1 +1
- Red Hat Enterprise Linux ES version 4 kdelibs-6:3.3.1-17.el4_8.1, kdelibs-6:3.3.1-17.el4_8.1.i386, kdelibs-6:3.3.1-17.el4_8.1.ia64 +3
- Red Hat Enterprise Linux WS version 4 kdelibs-6:3.3.1-17.el4_8.1, kdelibs-6:3.3.1-17.el4_8.1.i386, kdelibs-6:3.3.1-17.el4_8.1.ia64 +3
- RHSA-2009:1531 Released 2009-10-27 · Red Hat rating Criticalseamonkey security update
- Red Hat Desktop version 3 seamonkey-1.0.9-0.47.el3, seamonkey-1.0.9-0.47.el3.i386, seamonkey-chat-1.0.9-0.47.el3 +17
- Red Hat Enterprise Linux AS version 3 seamonkey-1.0.9-0.47.el3, seamonkey-1.0.9-0.47.el3.i386, seamonkey-1.0.9-0.47.el3.ia64 +37
- Red Hat Enterprise Linux AS version 4 seamonkey-1.0.9-50.el4_8, seamonkey-1.0.9-50.el4_8.i386, seamonkey-1.0.9-50.el4_8.ia64 +21
- Red Hat Enterprise Linux Desktop version 4 seamonkey-1.0.9-50.el4_8, seamonkey-1.0.9-50.el4_8.i386, seamonkey-chat-1.0.9-50.el4_8 +9
- Red Hat Enterprise Linux ES version 3 seamonkey-1.0.9-0.47.el3, seamonkey-1.0.9-0.47.el3.i386, seamonkey-1.0.9-0.47.el3.ia64 +27
- Red Hat Enterprise Linux ES version 4 seamonkey-1.0.9-50.el4_8, seamonkey-1.0.9-50.el4_8.i386, seamonkey-1.0.9-50.el4_8.ia64 +15
- Red Hat Enterprise Linux WS version 3 seamonkey-1.0.9-0.47.el3, seamonkey-1.0.9-0.47.el3.i386, seamonkey-1.0.9-0.47.el3.ia64 +27
- Red Hat Enterprise Linux WS version 4 seamonkey-1.0.9-50.el4_8, seamonkey-1.0.9-50.el4_8.i386, seamonkey-1.0.9-50.el4_8.ia64 +15
- RHSA-2009:1530 Released 2009-10-27 · Red Hat rating Criticalfirefox security update
- Red Hat Enterprise Linux (v. 5 server) firefox-3.0.15-3.el5_4, firefox-3.0.15-3.el5_4.i386, firefox-3.0.15-3.el5_4.ia64 +21
- Red Hat Enterprise Linux AS version 4 firefox-3.0.15-3.el4, firefox-3.0.15-3.el4.i386, firefox-3.0.15-3.el4.ia64 +9
- Red Hat Enterprise Linux Desktop (v. 5 client) firefox-3.0.15-3.el5_4, firefox-3.0.15-3.el5_4.i386, nspr-4.7.6-1.el5_4 +3
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) nspr-4.7.6-1.el5_4, nspr-devel-4.7.6-1.el5_4, nspr-devel-4.7.6-1.el5_4.i386 +5
- Red Hat Enterprise Linux Desktop version 4 firefox-3.0.15-3.el4, firefox-3.0.15-3.el4.i386, nspr-4.7.6-1.el4_8 +3
- Red Hat Enterprise Linux ES version 4 firefox-3.0.15-3.el4, firefox-3.0.15-3.el4.i386, firefox-3.0.15-3.el4.ia64 +6
- Red Hat Enterprise Linux WS version 4 firefox-3.0.15-3.el4, firefox-3.0.15-3.el4.i386, firefox-3.0.15-3.el4.ia64 +6
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Enterprise 1 | Affected | No fix yet |
| Red Hat OpenShift Enterprise 2 | Affected | No fix yet |
| Red Hat Desktop version 3 | Fixed | RHSA-2009:1531 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2009:1530, RHSA-2009:1601, RHSA-2014:0311 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2009:1531 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2009:1530, RHSA-2009:1531, RHSA-2009:1601, RHSA-2010:0154 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2009:1530, RHSA-2009:1601, RHSA-2010:0153 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2009:1530, RHSA-2009:1601, RHSA-2014:0311 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2009:1530, RHSA-2009:1531, RHSA-2009:1601, RHSA-2010:0154 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2009:1531 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2009:1530, RHSA-2009:1531, RHSA-2009:1601, RHSA-2010:0154 |
| Red Hat Enterprise Linux EUS (v. 5.9 server) | Fixed | RHSA-2014:0312 |
| Red Hat Enterprise Linux Long Life (v. 5.3 server) | Fixed | RHSA-2014:0312 |
| Red Hat Enterprise Linux Long Life (v. 5.6 server) | Fixed | RHSA-2014:0312 |
| Red Hat Enterprise Linux Optional Productivity Applications (v. 5 server) | Fixed | RHSA-2010:0153 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2009:1531 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2009:1530, RHSA-2009:1531, RHSA-2009:1601, RHSA-2010:0154 |
Timeline
- 2026-10-02 Threatist record created from CVE-2009-0689
- 2026-10-03 Alias added: GHSA-99jp-rppc-jgcm
References
Patch 2
Advisory 29
- 20091211 Thunderbird 2.0.0.23 (lib) Remote Array Overrun (Arbitrary code execution)
- RHSA-2010:0153
- 20091211 Flock 2.5.2 Remote Array Overrun (Arbitrary code execution)
- MDVSA-2009:330
- SUSE-SR:2009:018
- 20091120 Opera 10.01 Remote Array Overrun (Arbitrary code execution)
- 20091120 K-Meleon 1.5.3 Remote Array Overrun (Arbitrary code execution)
- http://www.mozilla.org/security/announce/2009/mfsa2009-59.html
- ADV-2010-0094
- ADV-2010-0648
- ADV-2010-0650
- 272909
- ADV-2009-3299
- RHSA-2009:1601
- APPLE-SA-2010-03-29-1
- SUSE-SR:2010:013
- RHSA-2014:0312
- 20091030 Multiple BSD printf(1) and multiple dtoa/*printf(3) vulnerabilities
- RHSA-2010:0154
- USN-915-1
- RHSA-2014:0311
- ADV-2009-3297
- 20091211 Camino 1.6.10 Remote Array Overrun (Arbitrary code execution)
- 20100108 MacOS X 10.5/10.6 libc/strtod(3) buffer overflow
- 20091120 SeaMonkey 1.1.8 Remote Array Overrun (Arbitrary code execution)
- APPLE-SA-2010-06-21-1
- ADV-2009-3334
- 20091211 Sunbird 0.9 Array Overrun (code execution)
- MDVSA-2009:294
Other 8
- https://bugzilla.mozilla.org/show_bug.cgi?id=516862
- http://support.apple.com/kb/HT4225
- [debian-lts-announce] 20181101 [SECURITY] [DLA 1564-1] mono security update
- http://www.opera.com/support/kb/view/942/
- http://support.apple.com/kb/HT4077
- https://bugzilla.mozilla.org/show_bug.cgi?id=516396
- oval:org.mitre.oval:def:6528
- oval:org.mitre.oval:def:9541
Sources
- CVE-2009-0689 · CVE Program
- CVE-2009-0689 · NVD
- FIRST EPSS
- GHSA-99jp-rppc-jgcm · GitHub Advisory Database · CC BY 4.0
- CVE-2009-0689 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences