Skip to content
CVE Tracker
Back

CVE-2012-3406

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…

Medium6.8EPSS 3.2%
Published
Updated
Reserved
Assigned by
redhat

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.

Scores

CVSS scores of CVE-2012-3406, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS (exploitation in 30 days)
3.2% · top 12% of all CVEs (2 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.

Weakness

Affected products

  • n/a

    • affected n/a

References (9)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .