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; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1564-1, DLA-376-1, DSA-1931-1, DSA-1998-1
Debian Bugs559265, 559266

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kde4libs (PTS)jessie, jessie (lts)4:4.14.2-5+deb8u3fixed
stretch (lts), stretch4:4.14.26-2+deb9u1fixed
buster4:4.14.38-3fixed
mono (PTS)jessie, jessie (lts)3.2.8+dfsg-10+deb8u1fixed
stretch (lts), stretch4.6.2.7+dfsg-1+deb9u1fixed
buster5.18.0.240+dfsg-3fixed
buster (security)5.18.0.240+dfsg-3+deb10u1fixed
bullseye6.8.0.105+dfsg-3.3~deb11u1fixed
bookworm6.8.0.105+dfsg-3.3fixed
sid, trixie6.8.0.105+dfsg-3.6fixed
nspr (PTS)jessie, jessie (lts)2:4.12-1+debu8u1fixed
stretch2:4.12-6fixed
buster2:4.20-1fixed
bullseye2:4.29-1fixed
bookworm2:4.35-1fixed
sid, trixie2:4.35-1.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kde4libssource(unstable)4:4.3.4-1medium559266
kdelibssourcelenny4:3.5.10.dfsg.1-0lenny4DSA-1998-1
kdelibssource(unstable)4:3.5.10.dfsg.1-3medium559265
monosourcesqueeze2.6.7-5.1+deb6u2DLA-376-1
monosourcejessie3.2.8+dfsg-10+deb8u1DLA-1564-1
monosource(unstable)4.2.1.102+dfsg2-4
nsprsourceetch(unfixed)end-of-life
nsprsourcelenny4.7.1-5DSA-1931-1
nsprsource(unstable)4.8-2

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)
[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