CVEfocus › CVE database › CVE-2012-3406

CVE-2012-3406

EPSS 3.2% (higher than 88% of CVEs)Published 2014-02-10Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14glibcFixed2.19-14DEBIAN-CVE-2012-3406
Debian 13glibcFixed2.19-14DEBIAN-CVE-2012-3406
Debian 12glibcFixed2.19-14DEBIAN-CVE-2012-3406
Red Hat Enterprise Linux 6glibcFixed0:2.12-1.80.el6_3.3RHSA-2012:1098
Red Hat Enterprise Linux 6glibc-commonFixed0:2.12-1.80.el6_3.3RHSA-2012:1098
Red Hat Enterprise Linux 6glibc-debuginfo-commonFixed0:2.12-1.80.el6_3.3RHSA-2012:1098
Red Hat Enterprise Linux 6glibc-develFixed0:2.12-1.80.el6_3.3RHSA-2012:1098
Red Hat Enterprise Linux 6glibc-headersFixed0:2.12-1.80.el6_3.3RHSA-2012:1098
Red Hat Enterprise Linux 6glibc-staticFixed0:2.12-1.80.el6_3.3RHSA-2012:1098
Red Hat Enterprise Linux 6glibc-utilsFixed0:2.12-1.80.el6_3.3RHSA-2012:1098
Red Hat Enterprise Linux 6nscdFixed0:2.12-1.80.el6_3.3RHSA-2012:1098
Red Hat Enterprise Linux 6rhev-hypervisor6Fixed0:6.3-20120815.0.el6_3RHSA-2012:1200
Red Hat Enterprise Linux 5glibcFixed0:2.5-81.el5_8.4RHSA-2012:1097
Red Hat Enterprise Linux 5glibc-commonFixed0:2.5-81.el5_8.4RHSA-2012:1097
Red Hat Enterprise Linux 5glibc-debuginfo-commonFixed0:2.5-81.el5_8.4RHSA-2012:1097
Red Hat Enterprise Linux 5glibc-develFixed0:2.5-81.el5_8.4RHSA-2012:1097
Red Hat Enterprise Linux 5glibc-headersFixed0:2.5-81.el5_8.4RHSA-2012:1097
Red Hat Enterprise Linux 5glibc-utilsFixed0:2.5-81.el5_8.4RHSA-2012:1097
Red Hat Enterprise Linux 5nscdFixed0:2.5-81.el5_8.4RHSA-2012:1097

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.