CVE Vulnerabilities

CVE-2012-3406

Published: Feb 10, 2014 | Modified: Apr 11, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
6.8 MODERATE
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 Software

NameVendorStart VersionEnd Version
GlibcGnu2.5 (including)2.5 (including)
GlibcGnu2.12 (including)2.12 (including)
Enterprise_virtualizationRedhat3.0 (including)3.0 (including)
Ubuntu_linuxCanonical8.04 (including)8.04 (including)
Ubuntu_linuxCanonical10.04 (including)10.04 (including)
Ubuntu_linuxCanonical11.04 (including)11.04 (including)
Ubuntu_linuxCanonical11.10 (including)11.10 (including)
Ubuntu_linuxCanonical12.04 (including)12.04 (including)
Enterprise_linuxRedhat5 (including)5 (including)
Enterprise_linuxRedhat6.0 (including)6.0 (including)
Red Hat Enterprise Linux 5RedHatglibc-0:2.5-81.el5_8.4*
Red Hat Enterprise Linux 6RedHatglibc-0:2.12-1.80.el6_3.3*
RHEV 3.X Hypervisor and Agents for RHEL-6RedHatrhev-hypervisor6-0:6.3-20120815.0.el6_3*
EglibcUbuntudevel*
EglibcUbuntulucid*
EglibcUbuntunatty*
EglibcUbuntuoneiric*
EglibcUbuntuprecise*
GlibcUbuntuhardy*

References