CVE-2009-0689

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
29.381%
chance of exploitation in the next 30 days
higher than 98.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 11

Weakness

Timeline

  1. 2009-05-26First Exploit-DB entry (EDB-ID 33058)36 days before publication
  2. 2009-07-01Published by the CNA12:26 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 33480doslinux2010-01-08yes
EDB-ID 33479dososx2010-01-08yes
EDB-ID 33364remotelinux2009-11-20yes
EDB-ID 33363remotemultiple2009-11-20yes
EDB-ID 10187dosbsd2009-11-19yes

Showing 5 of 11, verified and newest first.

Affected products

VendorProduct
freebsdfreebsd
k-meleon_projectk-meleon
mozillafirefox
mozillaseamonkey
netbsdnetbsd
openbsdopenbsd

References

53 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources