{"cve":"CVE-2012-3406","nvd":{"published":"2014-02-10T18:15:10.120","modified":"2026-06-16T23:43:09.570","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-264"],"references":["http://rhn.redhat.com/errata/RHSA-2012-1097.html","http://rhn.redhat.com/errata/RHSA-2012-1098.html","http://rhn.redhat.com/errata/RHSA-2012-1185.html","http://rhn.redhat.com/errata/RHSA-2012-1200.html","http://www.openwall.com/lists/oss-security/2012/07/11/17"],"products":["canonical:ubuntu_linux","gnu:glibc","redhat:enterprise_linux","redhat:enterprise_virtualization"],"source":"nvd","synced_at":"2026-10-19T20:32:06.812358378+00:00"},"epss":{"cve":"CVE-2012-3406","score":0.03163,"percentile":0.87995,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}