Skip to navigation

CVE Database

CVE-2012-3406

Impact: Moderate
Public: 2012-07-11
Bugzilla: 826943: CVE-2012-3406 glibc: printf() unbound alloca() usage in case of positional parameters + many format specs

Details

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2012-3406 from the MITRE CVE dictionary and NIST NVD.

CVSS v2 metrics

Base Score: 6.8
Base Metrics: AV:N/AC:M/AU:N/C:P/I:P/A:P
Access Vector: Network
Access Complexity: Medium
Authentication:
Confidentiality Impact: Partial
Integrity Impact: Partial
Availability Impact: Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat security errata

Platform Errata Release Date
RHEV Hypervisor for RHEL-5 (rhev-hypervisor5) RHSA-2012:1185 August 21, 2012
RHEV Hypervisor for RHEL-6 (rhev-hypervisor6) RHSA-2012:1200 August 23, 2012
Red Hat Enterprise Linux version 5 (glibc) RHSA-2012:1097 July 18, 2012
Red Hat Enterprise Linux version 6 (glibc) RHSA-2012:1098 July 18, 2012

External References

This page is generated automatically and has not been checked for errors or omissions.

For clarification or corrections please contact the Red Hat Security Response Team.