CVE-2012-3406

Medium

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.

SeverityMedium
CVSS6.8
Exploit probability—
ProductGnu Glibc
PublishedFeb 10, 2014
First seenFeb 10, 2014

How to fix

Affected products

ProductAffected versionsFixed in
gnu glibc2.5, 2.12—
redhat enterprise_virtualization3.0—
canonical ubuntu_linux8.04, 10.04, 11.04, 11.10, 12.04—
redhat enterprise_linux5, 6.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.