CVE-2012-3406

glibc - Denial of Service via vfprintf Format String Handling

Title source: llm
STIX 2.1

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.

References (9)

Core 9
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2012-1200.html
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=826943
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2012-1097.html
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201503-04
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2012-1098.html
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1589-1
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2012-1185.html
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/07/11/17
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/attachment.cgi?id=594722

Scores

EPSS 0.0087
EPSS Percentile 75.4%

Details

CWE
CWE-264
Status published
Products (10)
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
gnu/glibc 2.5
gnu/glibc 2.12
redhat/enterprise_linux 5
redhat/enterprise_linux 6.0
redhat/enterprise_virtualization 3.0
Published Feb 10, 2014
Tracked Since Feb 18, 2026