CVEvulnerability

CVE-2012-3406

6.8 MEDIUM Published 2014-02-10 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2014-02-10
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-264

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.

Affected configurations

• gnu glibc 2.5 • gnu glibc 2.12 • redhat enterprise virtualization 3.0 • canonical ubuntu linux 8.04 • canonical ubuntu linux 10.04 • canonical ubuntu linux 11.04 • canonical ubuntu linux 11.10 • canonical ubuntu linux 12.04 • redhat enterprise linux 5 • redhat enterprise linux 6.0

Related

Weakness · not in database (1)

References