CVE-2009-0689: Freebsd
Medium severity, CVSS 6.8. EPSS: 28.1% chance of exploitation in the next 30 days.
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.
Affected products
- Freebsd Freebsd: version 6.4 only; version 7.2 only
- K-Meleon Project K-Meleon: version 1.5.3 only
- Mozilla Firefox: version 3.0.1 only; version 3.0.2 only; version 3.0.3 only; version 3.0.4 only; version 3.0.5 only; version 3.0.6 only; …
- Mozilla Seamonkey: version 1.1.8 only
- Netbsd Netbsd: version 5.0 only
- OpenBSD OpenBSD: version 4.5 only
Published 2009-07-01. Last modified 2026-06-16.