Vulnerability in GNU Glibc
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 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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.032, 88.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Glibc — versions 2.5, 2.12
- Canonical Ubuntu Linux — versions 8.04, 10.04, 11.04
- Red Hat Enterprise Linux — versions 5, 6.0
- Red Hat Enterprise Virtualization — versions 3.0
Weakness classification (CWE)
References
- RHSA-2012:1200 (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi
- RHSA-2012:1097 (vendor-advisory)
- GLSA-201503-04 (vendor-advisory)
- RHSA-2012:1098 (vendor-advisory)
- USN-1589-1 (vendor-advisory)
- RHSA-2012:1185 (vendor-advisory)
- [oss-security] 20120711 Re: CVE request: glibc formatted printing vulnerabilities (mailing-list)
- bugzilla.redhat.com/attachment.cgi