Live threats

All CVEs / Gnu

CVE-2012-3406Gnu Glibc

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Feb 10, 2014
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Glibc.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gnuglibc2.5
gnuglibc2.12
redhatenterprise_virtualization3.0
canonicalubuntu_linux8.04
canonicalubuntu_linux10.04
canonicalubuntu_linux11.04
canonicalubuntu_linux11.10
canonicalubuntu_linux12.04
redhatenterprise_linux5
redhatenterprise_linux6.0

Official sources

References

Links published by the sources. Open them with care.