CVE-2012-3406
Reported by redhat · Published February 10, 2014
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 products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Jul 25, 2012 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory (2 in total, the first dated here)
- Aug 8, 2026 Distribution Patch
- Oct 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-3406
vulnetix vdb fixes CVE-2012-3406
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-3406/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2012:1200 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2012:1097 vendor-advisoryx_refsource_REDHAT
- GLSA-201503-04 vendor-advisoryx_refsource_GENTOO
- RHSA-2012:1098 vendor-advisoryx_refsource_REDHAT
- USN-1589-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2012:1185 vendor-advisoryx_refsource_REDHAT
- [oss-security] 20120711 Re: CVE request: glibc formatted printing vulnerabilities mailing-listx_refsource_MLIST
- x_refsource_CONFIRM