CVE-2012-3406

UnknownEPSS 3.16%

Last modified

CVE-2012-3406 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 3.16% chance of exploitation in the next 30 days.

Description

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.

Metrics

EPSS Probability
3.16%

86.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

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

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2012-3406?
Severity scoring for CVE-2012-3406 is pending analysis. The EPSS model estimates a 3.16% probability of exploitation in the next 30 days.
How do I fix CVE-2012-3406?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2012-3406?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST