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…
Check your servers for CVE-2009-0689
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-0689 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 29.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.5% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2009-0689 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-0689RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-0689Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2009-0689
trivy image --scanners vuln IMAGE | grep CVE-2009-0689
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gdtoa/gdtoaimp.h cvsweb.netbsd.org
- https://bugzilla.mozilla.org/show_bug.cgi?id=516862 bugzilla.mozilla.org
- 20090625 Multiple Vendors libc/gdtoa printf(3) Array Overrun securityreason.com · third party advisory
- 20091211 Thunderbird 2.0.0.23 (lib) Remote Array Overrun (Arbitrary code execution) securityreason.com · third party advisory
- RHSA-2010:0153 redhat.com · vendor advisory
- 20091211 Flock 2.5.2 Remote Array Overrun (Arbitrary code execution) securityreason.com · third party advisory
- MDVSA-2009:330 mandriva.com · vendor advisory
- 39001 secunia.com · third party advisory
- SUSE-SR:2009:018 lists.opensuse.org · vendor advisory
- http://support.apple.com/kb/HT4225 support.apple.com
- 20091120 Opera 10.01 Remote Array Overrun (Arbitrary code execution) securityreason.com · third party advisory
- 20091120 K-Meleon 1.5.3 Remote Array Overrun (Arbitrary code execution) securityreason.com · third party advisory
25 more
- http://www.mozilla.org/security/announce/2009/mfsa2009-59.html mozilla.org
- 272909 sunsolve.sun.com · vendor advisory
- RHSA-2009:1601 redhat.com · vendor advisory
- APPLE-SA-2010-03-29-1 lists.apple.com · vendor advisory
- SUSE-SR:2010:013 lists.opensuse.org · vendor advisory
- RHSA-2014:0312 rhn.redhat.com · vendor advisory
- 37683 secunia.com · third party advisory
- 38977 secunia.com · third party advisory
- http://www.opera.com/support/kb/view/942/ opera.com
- 20091030 Multiple BSD printf(1) and multiple dtoa/*printf(3) vulnerabilities securityreason.com · third party advisory
- RHSA-2010:0154 redhat.com · vendor advisory
- http://support.apple.com/kb/HT4077 support.apple.com
- https://bugzilla.mozilla.org/show_bug.cgi?id=516396 bugzilla.mozilla.org
- 37682 secunia.com · third party advisory
- 38066 secunia.com · third party advisory
- USN-915-1 ubuntu.com · vendor advisory
- RHSA-2014:0311 rhn.redhat.com · vendor advisory
- 20091211 Camino 1.6.10 Remote Array Overrun (Arbitrary code execution) securityreason.com · third party advisory
- 37431 secunia.com · third party advisory
- 20100108 MacOS X 10.5/10.6 libc/strtod(3) buffer overflow securityreason.com · third party advisory
- 20091120 SeaMonkey 1.1.8 Remote Array Overrun (Arbitrary code execution) securityreason.com · third party advisory
- APPLE-SA-2010-06-21-1 lists.apple.com · vendor advisory
- http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gdtoa/misc.c openbsd.org
- 20091211 Sunbird 0.9 Array Overrun (code execution) securityreason.com · third party advisory
- MDVSA-2009:294 mandriva.com · vendor advisory
Other references
- http://secunia.com/secunia_research/2009-35/ secunia.com
- 20091120 SeaMonkey 1.1.8 Remote Array Overrun (Arbitrary code execution) securityfocus.com · mailing list
- 20091120 K-Meleon 1.5.3 Remote Array Overrun (Arbitrary code execution) securityfocus.com · mailing list
- ADV-2010-0094 vupen.com · vdb entry
- ADV-2010-0648 vupen.com · vdb entry
- ADV-2010-0650 vupen.com · vdb entry
- ADV-2009-3299 vupen.com · vdb entry
- 20091210 Camino 1.6.10 Remote Array Overrun (Arbitrary code execution) securityfocus.com · mailing list
- [debian-lts-announce] 20181101 [SECURITY] [DLA 1564-1] mono security update lists.debian.org · mailing list
- oval:org.mitre.oval:def:6528 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:9541 oval.cisecurity.org · vdb entry, signature
- 20091210 Flock 2.5.2 Remote Array Overrun (Arbitrary code execution) securityfocus.com · mailing list
4 more
- ADV-2009-3297 vupen.com · vdb entry
- 1022478 securitytracker.com · vdb entry
- ADV-2009-3334 vupen.com · vdb entry
- 35510 securityfocus.com · vdb entry
Source: the record CVE-2009-0689 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse