Buffer overflow in FreeBSD

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 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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v2 metric

CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.294, 98.2th percentile (scored ); up from 0.281 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2009-0689: rose from 0.281 to 0.294.

EPSS over last 30 days · oldest: 0.281 · newest: 0.294 · change: +0.013

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • Fullmetal5/str2hax (89 stars, last pushed 2019-09-30): An implementation of CVE-2009-0689 for the Nintendo Wii.

Also mentioned in 4 other repositories (ARPSyndicate/cvemon, CVEDB/awesome-cve-repo, CVEDB/PoC-List, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References