CVE-2012-3406

medium
Published 2014-02-10 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
6.8

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

redhat Red Hat Affected 2 releases
VersionStatusFixed in
6.0 Affected โ€”
5 Affected โ€”
ubuntu Ubuntu Affected 5 releases
VersionStatusFixed in
12.04 Affected โ€”
11.10 Affected โ€”
11.04 Affected โ€”
10.04 Affected โ€”
8.04 Affected โ€”
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 2.19-14
sid Fixed 2.19-14
forky Fixed 2.19-14
bullseye Fixed 2.19-14
bookworm Fixed 2.19-14

Application impact

VendorProductVersionsFixed
gnuglibc2.5
gnuglibc2.12
redhat redhatenterprise_virtualization3.0

References

CWEs

CWE-264

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.