Name | CVE-2012-3406 |
Description | The vfprintf function in stdio-common/vfprintf.c in GNU C Library (aka glibc) 2.5, 2.12, and probably other versions does not "properly restrict the use of" the alloca function when allocating the SPECS array, which allows context-dependent attackers to bypass the FORTIFY_SOURCE format-string protection mechanism and cause a denial of service (crash) or possibly execute arbitrary code via a crafted format string using positional parameters and a large number of format specifiers, a different vulnerability than CVE-2012-3404 and CVE-2012-3405. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-165-1, DSA-3169-1 |
Debian Bugs | 681888 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
glibc (PTS) | jessie, jessie (lts) | 2.19-18+deb8u14 | fixed |
stretch (security) | 2.24-11+deb9u1 | fixed | |
stretch (lts), stretch | 2.24-11+deb9u7 | fixed | |
buster (security), buster, buster (lts) | 2.28-10+deb10u4 | fixed | |
bullseye | 2.31-13+deb11u11 | fixed | |
bullseye (security) | 2.31-13+deb11u10 | fixed | |
bookworm | 2.36-9+deb12u8 | fixed | |
bookworm (security) | 2.36-9+deb12u7 | fixed | |
sid, trixie | 2.40-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
eglibc | source | squeeze | 2.11.3-4+deb6u5 | DLA-165-1 | ||
eglibc | source | wheezy | 2.13-38+deb7u8 | DSA-3169-1 | ||
eglibc | source | (unstable) | (unfixed) | |||
glibc | source | (unstable) | 2.19-14 | low | 681888 |
Upstream fix: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5985c6ea868db23380977a35a2167549f9a3653b
https://bugzilla.redhat.com/show_bug.cgi?id=826943
https://www.openwall.com/lists/oss-security/2012/07/11/5
https://www.openwall.com/lists/oss-security/2012/07/11/17