cve.bz

CVE-2012-3406

no score yetEPSS 3.2%

No CVSS score yet. EPSS 3.2% estimated probability of exploitation activity in the next 30 days.

On this page
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
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-264 Permissions, Privileges, and Access Controls
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-3406 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-3406?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-3406?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-3406 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:glibc2.5
gnu:glibc2.12
redhat:enterprise_virtualization3.0
canonical:ubuntu_linux8.04
canonical:ubuntu_linux10.04
canonical:ubuntu_linux11.04
canonical:ubuntu_linux11.10
canonical:ubuntu_linux12.04
redhat:enterprise_linux5
redhat:enterprise_linux6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0eglibc2.11.3-4+deb6u5DLA-165-1
Debian7eglibc2.13-38+deb7u8DSA-3169-1
Debian12, 13, 14glibc2.19-14DEBIAN-CVE-2012-3406
Red Hatenterprise_linux:5::client, enterprise_linux:5::servernscd, glibc, glibc-devel and 5 more0:2.5-81.el5_8.4RHSA-2012:1097
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morenscd, glibc, glibc-devel and 6 more0:2.12-1.80.el6_3.3RHSA-2012:1098
Red Hatenterprise_linux:6::hypervisorrhev-hypervisor60:6.3-20120815.0.el6_3RHSA-2012:1200
openSUSETumbleweedglibc2.24-2.3openSUSE-SU-2024:10154-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5glibc-0:2.5-81.el5_8.4Fixed 2012-07-18RHSA-2012:1097
Red Hat Enterprise Linux 6glibc-0:2.12-1.80.el6_3.3Fixed 2012-07-18RHSA-2012:1098
RHEV 3.X Hypervisor and Agents for RHEL-6rhev-hypervisor6-0:6.3-20120815.0.el6_3Fixed 2012-08-23RHSA-2012:1200

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-3406.

References

Check your stackJSON