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 (87.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: 0.000
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
- rhn.redhat.com/errata/RHSA-2012-1200.html (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi
- rhn.redhat.com/errata/RHSA-2012-1097.html (vendor-advisory)
- security.gentoo.org/glsa/201503-04 (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2012-1098.html (vendor-advisory)
- www.ubuntu.com/usn/USN-1589-1 (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2012-1185.html (vendor-advisory)
- www.openwall.com/lists/oss-security/2012/07/11/17 (mailing-list)
- bugzilla.redhat.com/attachment.cgi