Skip to content
Noroxi
NVD / CVE Program· CNA redhat

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…

MediumCVSS 6.8 · v2.0—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 28/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 3.1% (FIRST EPSS); higher than 88.2% of all records.
  • Fixed version: glibc (Debian:12) 2.19-14; eglibc (Debian:6.0) 2.11.3-4+deb6u5; eglibc (Debian:7) 2.13-38+deb7u8.

Low priority for now. Upgrade to glibc (Debian:12) 2.19-14; eglibc (Debian:6.0) 2.11.3-4+deb6u5; eglibc (Debian:7) 2.13-38+deb7u8 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Feb 10, 2014
Updated
Jun 16, 2026
EPSS
3.1% · 88th percentile

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
27 / 40 · 6.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.1%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2012-3406

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
gnuglibc
redhatenterprise virtualization
canonicalubuntu linux
redhatenterprise linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux10.04
  • canonical ubuntu linux11.04
  • canonical ubuntu linux11.10
  • canonical ubuntu linux12.04
  • canonical ubuntu linux8.04
  • gnu glibc2.12
  • gnu glibc2.5
  • redhat enterprise linux5
  • redhat enterprise linux6.0
  • redhat enterprise virtualization3.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12glibcbefore 2.19-142.19-14
Debian:6.0eglibcbefore 2.11.3-4+deb6u52.11.3-4+deb6u5
Debian:7eglibcbefore 2.13-38+deb7u82.13-38+deb7u8
openSUSE:Tumbleweedglibcbefore 2.24-2.32.24-2.3
Red Hat:enterprise_linux:5::clientglibcbefore 0:2.5-81.el5_8.40:2.5-81.el5_8.4
Red Hat:enterprise_linux:5::clientglibc-commonbefore 0:2.5-81.el5_8.40:2.5-81.el5_8.4
Red Hat:enterprise_linux:5::clientglibc-debuginfobefore 0:2.5-81.el5_8.40:2.5-81.el5_8.4
Red Hat:enterprise_linux:5::clientglibc-debuginfo-commonbefore 0:2.5-81.el5_8.40:2.5-81.el5_8.4
Red Hat:enterprise_linux:5::clientglibc-develbefore 0:2.5-81.el5_8.40:2.5-81.el5_8.4
Red Hat:enterprise_linux:5::clientglibc-headersbefore 0:2.5-81.el5_8.40:2.5-81.el5_8.4
Red Hat:enterprise_linux:5::clientglibc-utilsbefore 0:2.5-81.el5_8.40:2.5-81.el5_8.4
Red Hat:enterprise_linux:5::clientnscdbefore 0:2.5-81.el5_8.40:2.5-81.el5_8.4
Red Hat:enterprise_linux:6::clientglibcbefore 0:2.12-1.80.el6_3.30:2.12-1.80.el6_3.3
Red Hat:enterprise_linux:6::clientglibc-commonbefore 0:2.12-1.80.el6_3.30:2.12-1.80.el6_3.3
Red Hat:enterprise_linux:6::clientglibc-debuginfobefore 0:2.12-1.80.el6_3.30:2.12-1.80.el6_3.3
Red Hat:enterprise_linux:6::clientglibc-debuginfo-commonbefore 0:2.12-1.80.el6_3.30:2.12-1.80.el6_3.3
Red Hat:enterprise_linux:6::clientglibc-develbefore 0:2.12-1.80.el6_3.30:2.12-1.80.el6_3.3
Red Hat:enterprise_linux:6::clientglibc-headersbefore 0:2.12-1.80.el6_3.30:2.12-1.80.el6_3.3
Red Hat:enterprise_linux:6::clientglibc-staticbefore 0:2.12-1.80.el6_3.30:2.12-1.80.el6_3.3
Red Hat:enterprise_linux:6::clientglibc-utilsbefore 0:2.12-1.80.el6_3.30:2.12-1.80.el6_3.3
Red Hat:enterprise_linux:6::clientnscdbefore 0:2.12-1.80.el6_3.30:2.12-1.80.el6_3.3
Red Hat:enterprise_linux:6::hypervisorrhev-hypervisor6before 0:6.3-20120815.0.el6_30:6.3-20120815.0.el6_3

Same product

gnu: all records

Other highest-scoring records for the same primary product.

  • CVE-2023-4911Glibc: buffer overflow in ld.so leading to privilege escalationKEV
    80Now
  • CVE-2015-0235Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows…
    68This week
  • CVE-2015-7547Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C Library (aka glibc…
    60This week

Published before and after this one in the same product

  • ← EarlierCVE-2012-3404Feb 10, 2014 · 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…
    21Monitor
  • ← EarlierCVE-2012-3405Feb 10, 2014 · The vfprintf function in stdio-common/vfprintf.c in libc in GNU C Library (aka glibc) 2.14 and other versions does not properly calculate a…
    21Monitor
  • Later →CVE-2014-0475Jul 29, 2014 · Multiple directory traversal vulnerabilities in GNU C Library (aka glibc or libc6) before 2.20 allow context-dependent attackers to bypass…
    28Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:eglibc2.11.3-4+deb6u5 · Debian:6.0Package registry (OSV)
debian:glibc2.19-14 · Debian:12Package registry (OSV)
opensuse:glibc2.24-2.3 · openSUSE:TumbleweedPackage registry (OSV)
red hat:glibc0:2.5-81.el5_8.4 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-common0:2.5-81.el5_8.4 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-debuginfo0:2.5-81.el5_8.4 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-debuginfo-common0:2.5-81.el5_8.4 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-devel0:2.5-81.el5_8.4 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-headers0:2.5-81.el5_8.4 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:glibc-static0:2.12-1.80.el6_3.3 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:glibc-utils0:2.5-81.el5_8.4 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:nscd0:2.5-81.el5_8.4 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:rhev-hypervisor60:6.3-20120815.0.el6_3 · Red Hat:enterprise_linux:6::hypervisorPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

    If successful

    Confidentiality
    P · data can be read
    Integrity
    P · data or configuration can be modified
    Availability
    P · the service can be disrupted
    Attack complexity
    M
    Confidentiality impact
    P
    Integrity impact
    P
    Availability impact
    P

    CVSS vector

    AV:N/AC:M/Au:N/C:P/I:P/A:P

    nvd-primary

    Attack context

    MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

    MITRE has no CAPEC/ATT&CK mapping for this CWE.

    References

    All records