CVE-2009-0689

NameCVE-2009-0689
DescriptionArray 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.
SourceCVE (at NVD; LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-376-1, DSA-1931-1, DSA-1998-1
NVD severitymedium (attack range: remote)
Debian Bugs559265, 559266

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kde4libs (PTS)wheezy (security), wheezy4:4.8.4-4+deb7u1fixed
jessie4:4.14.2-5fixed
stretch4:4.14.14-1fixed
sid4:4.14.20-2fixed
mono (PTS)wheezy (security), wheezy2.10.8.1-8+deb7u1vulnerable
jessie3.2.8+dfsg-10vulnerable
stretch4.2.1.102+dfsg2-6fixed
sid4.2.1.102+dfsg2-7fixed
nspr (PTS)wheezy (security), wheezy2:4.9.2-1+deb7u3fixed
jessie (security), jessie2:4.10.7-1+deb8u1fixed
stretch, sid2:4.12-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kde4libssource(unstable)4:4.3.4-1medium559266
kdelibssource(unstable)4:3.5.10.dfsg.1-3medium559265
kdelibssourcelenny4:3.5.10.dfsg.1-0lenny4mediumDSA-1998-1
monosource(unstable)4.2.1.102+dfsg2-4medium
monosourcesqueeze2.6.7-5.1+deb6u2mediumDLA-376-1
nsprsource(unstable)4.8-2medium
nsprsourceetch(unfixed)end-of-life
nsprsourcelenny4.7.1-5mediumDSA-1931-1

Notes

[etch] - nspr <end-of-life> (Mozilla packages from oldstable no longer covered by security support)
[lenny] - kde4libs <no-dsa> (Only uses by a few packages in Lenny, hardly any attack vector)
[jessie] - mono <no-dsa> (Minor issue)
[wheezy] - mono <no-dsa> (Minor issue)
http://www.mono-project.com/docs/about-mono/vulnerabilities/
https://gist.github.com/directhex/01e853567fd2cc74ed39

Search for package or bug name: Reporting problems