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.
Affected products
- FreeBSD / FreeBSD7.2 – 7.2
- FreeBSD / FreeBSD7.2 – 7.2
- FreeBSD / FreeBSD6.4 – 6.4
- FreeBSD / FreeBSD6.4 – 6.4
- FreeBSD / FreeBSD6.4 – 6.4
- FreeBSD / FreeBSD6.4 – 6.4
- FreeBSD / FreeBSD6.4 – 6.4
- FreeBSD / FreeBSD6.4 – 6.4
- FreeBSD / FreeBSD6.4 – 6.4
- FreeBSD / FreeBSD7.2 – 7.2
- k-meleon_project / k-meleon1.5.3 – 1.5.3
- Mozilla / Firefox3.0.11 – 3.0.11
- Mozilla / Firefox3.0.12 – 3.0.12
- Mozilla / Firefox3.0.13 – 3.0.13
- Mozilla / Firefox3.0.14 – 3.0.14
- Mozilla / Firefox3.5 – 3.5
- Mozilla / Firefox3.5.2 – 3.5.2
- Mozilla / Firefox3.5.3 – 3.5.3
- Mozilla / Firefox3.5.1 – 3.5.1
- Mozilla / Firefox3.0.1 – 3.0.1
- Mozilla / Firefox3.0.2 – 3.0.2
- Mozilla / Firefox3.0.3 – 3.0.3
- Mozilla / Firefox3.0.4 – 3.0.4
- Mozilla / Firefox3.0.5 – 3.0.5
- Mozilla / Firefox3.0.6 – 3.0.6
- Mozilla / Firefox3.0.7 – 3.0.7
- Mozilla / Firefox3.0.8 – 3.0.8
- Mozilla / Firefox3.0.9 – 3.0.9
- Mozilla / Firefox3.0.10 – 3.0.10
- Mozilla / seamonkey1.1.8 – 1.1.8
- NetBSD / netbsd5.0 – 5.0
- OpenBSD / OpenBSD4.5 – 4.5
References
- MISChttp://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gdtoa/gdtoaimp.h
- MISChttp://secunia.com/secunia_research/2009-35/
- MISChttps://bugzilla.mozilla.org/show_bug.cgi?id=516862
- MISChttp://securityreason.com/achievement_securityalert/63
- MISChttp://www.securityfocus.com/archive/1/507979/100/0/threaded
- MISChttp://securityreason.com/achievement_securityalert/78
- MISChttp://www.redhat.com/support/errata/RHSA-2010-0153.html
- MISChttp://securityreason.com/achievement_securityalert/75
- VENDOR_ADVISORYhttp://www.mandriva.com/security/advisories?name=MDVSA-2009:330
- VENDOR_ADVISORYhttp://secunia.com/advisories/39001
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2009-11/msg00004.html
- MISChttp://www.securityfocus.com/archive/1/507977/100/0/threaded
- VENDOR_ADVISORYhttp://support.apple.com/kb/HT4225
- MISChttp://securityreason.com/achievement_securityalert/73
- MISChttp://securityreason.com/achievement_securityalert/72
- MISChttp://www.mozilla.org/security/announce/2009/mfsa2009-59.html
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2010/0094
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2010/0648
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2010/0650
- MISChttp://sunsolve.sun.com/search/document.do?assetkey=1-26-272909-1
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2009/3299
- MISChttp://www.redhat.com/support/errata/RHSA-2009-1601.html
- MISChttp://www.securityfocus.com/archive/1/508423/100/0/threaded
- MAILING_LISThttp://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2018/11/msg00001.html
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2010-06/msg00001.html
- MISChttp://rhn.redhat.com/errata/RHSA-2014-0312.html
- VENDOR_ADVISORYhttp://secunia.com/advisories/37683
- VENDOR_ADVISORYhttp://secunia.com/advisories/38977
- MISChttp://www.opera.com/support/kb/view/942/
- MISChttp://securityreason.com/achievement_securityalert/69
- MISChttp://www.redhat.com/support/errata/RHSA-2010-0154.html
- VENDOR_ADVISORYhttp://support.apple.com/kb/HT4077
- MISChttps://bugzilla.mozilla.org/show_bug.cgi?id=516396
- MISChttps://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6528
- VENDOR_ADVISORYhttp://secunia.com/advisories/37682
- MISChttps://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9541
- VENDOR_ADVISORYhttp://secunia.com/advisories/38066
- VENDOR_ADVISORYhttp://www.ubuntu.com/usn/USN-915-1
- MISChttp://www.securityfocus.com/archive/1/508417/100/0/threaded
- MISChttp://rhn.redhat.com/errata/RHSA-2014-0311.html
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2009/3297
- MISChttp://securityreason.com/achievement_securityalert/76
- VENDOR_ADVISORYhttp://secunia.com/advisories/37431
- MISChttp://securityreason.com/achievement_securityalert/81
- MISChttp://securityreason.com/achievement_securityalert/71
- MISChttp://securitytracker.com/id?1022478
- MAILING_LISThttp://lists.apple.com/archives/security-announce/2010/Jun/msg00003.html
- MISChttp://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gdtoa/misc.c
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2009/3334
- MISChttp://securityreason.com/achievement_securityalert/77
- VENDOR_ADVISORYhttp://www.mandriva.com/security/advisories?name=MDVSA-2009:294
- MISChttp://www.securityfocus.com/bid/35510