CVEfocus › CVE database › CVE-2012-3404

CVE-2012-3404

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

The vfprintf function in stdio-common/vfprintf.c in libc in GNU C Library (aka glibc) 2.12 and other versions does not properly calculate a buffer length, which allows context-dependent attackers to bypass the FORTIFY_SOURCE format-string protection mechanism and cause a denial of service (stack corruption and crash) via a format string that uses positional parameters and many format specifiers.

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

12Fixed
1Not affected

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.13-35DEBIAN-CVE-2012-3404
Debian 13glibcFixed2.13-35DEBIAN-CVE-2012-3404
Debian 12glibcFixed2.13-35DEBIAN-CVE-2012-3404
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 5glibcNot affected

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.