{"id":"CVE-2012-3406","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"The vfprintf function in stdio-common/vfprintf.c in GNU C Library (aka glibc) 2.5, 2.12, and probably other versions do…","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.","ai_summary":null,"severity":"medium","cvss":{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"NVD"},"scores":[{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-264"],"remote":true,"remote_unauth":true,"epss":{"score":0.03163,"percentile":0.88764,"date":"2026-11-30"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2012-1200.html","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1097.html","kind":"vendor"},{"url":"https://security.gentoo.org/glsa/201503-04","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1098.html","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/USN-1589-1","kind":"vendor"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1185.html","kind":"vendor"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=826943","kind":"other"},{"url":"http://www.openwall.com/lists/oss-security/2012/07/11/17","kind":"other"},{"url":"https://bugzilla.redhat.com/attachment.cgi?id=594722","kind":"other"}],"workarounds":null,"vendors":["canonical","gnu","redhat"],"products":["enterprise_linux","enterprise_virtualization","glibc","ubuntu_linux"],"cpes":["cpe:2.3:a:gnu:glibc:2.12:*:*:*:*:*:*:*","cpe:2.3:a:gnu:glibc:2.5:*:*:*:*:*:*:*","cpe:2.3:a:redhat:enterprise_virtualization:3.0:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:8.04:-:lts:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*"],"published_at":"2014-02-10T17:00:00.000Z","modified_at":"2026-06-16T23:43:09.570Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3406"}],"links":{"html":"https://flawdb.com/CVE-2012-3406","markdown":"https://flawdb.com/CVE-2012-3406.md","json":"https://flawdb.com/api/v1/entries/CVE-2012-3406"}}