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 mu…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- MATLAB R2009b - 'dtoa' Implementation Memory Corruption2010-01-08 · dos · linux · Verified
- Apple Mac OSX 10.x - 'libc/strtod(3)' Memory Corruption2010-01-08 · dos · osx · Verified
- KDE 4.3.3 - KDELibs 'dtoa()' Remote Code Execution2009-11-20 · remote · linux · Verified
- Opera Web Browser 10.01 - 'dtoa()' Remote Code Execution2009-11-20 · remote · multiple · Verified
- Mozilla Firefox 3.5.3 - Floating Point Conversion Heap Overflow2009-10-27 · dos · linux · Verified
- BSD (Multiple Distributions) - 'gdtoa/misc.c' Memory Corruption2009-05-26 · dos · multiple · Verified
- Opera 10.01 - Remote Array Overrun2009-11-19 · dos · bsd · Verified
- K-Meleon 1.5.3 - Remote Array Overrun2009-11-19 · dos · bsd · Verified
- SeaMonkey 1.1.8 - Remote Array Overrun2009-11-19 · dos · bsd · Verified
- KDE KDELibs 4.3.3 - Remote Array Overrun2009-11-19 · dos · linux · Verified
- Sunbird 0.9 - Array Overrun Code Execution2009-12-11 · remote · windows
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| K-Meleon Project | K-Meleon | Version 1.5.3 |
| Mozilla | Firefox | Versions 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6 |
| Mozilla | Seamonkey | Version 1.1.8 |
| Freebsd | Freebsd | Versions 6.4, 7.2 |
| Netbsd | Netbsd | Version 5.0 |
| Openbsd | Openbsd | Version 4.5 |
Weakness classification
References
- NVD record
- CVE.org record
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gdtoa/gdtoaimp.h
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://lists.apple.com/archives/security-announce/2010/Jun/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2009-11/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2010-06/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2014-0311.html
- http://rhn.redhat.com/errata/RHSA-2014-0312.html
- http://secunia.com/advisories/37431
- http://secunia.com/advisories/37682
- http://secunia.com/advisories/37683
- http://secunia.com/advisories/38066
- http://secunia.com/advisories/38977
- http://secunia.com/advisories/39001
- http://secunia.com/secunia_research/2009-35/
- http://securityreason.com/achievement_securityalert/63
- http://securityreason.com/achievement_securityalert/69
- http://securityreason.com/achievement_securityalert/71
- http://securityreason.com/achievement_securityalert/72
- http://securityreason.com/achievement_securityalert/73
- http://securityreason.com/achievement_securityalert/75
- http://securityreason.com/achievement_securityalert/76
- http://securityreason.com/achievement_securityalert/77
- http://securityreason.com/achievement_securityalert/78
- http://securityreason.com/achievement_securityalert/81
- http://securitytracker.com/id?1022478