CVE-2012-3404
The vfprintf function in stdio-common/vfprintf.c in libc in GNU C Library (aka glibc) 2.12 and...
CVE-2012-3404 is a medium vulnerability (CVSS 5.0) in Gnu Glibc, published September 13, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.23%, the 82nd percentile. Fixed in glibc 2.13-35.
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2012-3404- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-3404- Updated
- 2026-11-02
EUVDEUVD-2012-3375 No score
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.
- Record
EUVD-2012-3375- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gm92-3frh-vrww No score
The vfprintf function in stdio-common/vfprintf.c in libc in GNU C Library (aka glibc) 2.12 and...
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.
- Record
GHSA-gm92-3frh-vrww- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-3404- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-3404 No score
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.
- Record
DEBIAN-CVE-2012-3404- Updated
- 2026-11-02
OSVSUSE-SU-2015:0551-1 No score
Security update for glibc
This update for glibc contains the following fixes:
* Fix integer overflows in malloc (CVE-2013-4332, bnc#839870)
* Fix buffer overflow in glob (bnc#691365)
* Fix buffer overflow in strcoll (CVE-2012-4412, bnc#779320)
* Update mount flags in <sys/mount.h> (bnc#791928)
* Fix buffer overrun in regexp matcher (CVE-2013-0242, bnc#801246)
* Fix memory leaks in dlopen (bnc#811979)
* Fix stack overflow in getaddrinfo with many results (CVE-2013-1914,
bnc#813121)
* Fix check for XEN build in glibc_post_upgrade that causes missing
init re-exec (bnc#818628)
* Don't raise UNDERFLOW in tan/tanf for small but normal argument
(bnc#819347)
* Properly cross page boundary in SSE4.2 implementation of strcmp
(bnc#822210)
* Fix robust mutex handling after fork (bnc#827811)
* Fix missing character in IBM-943 charset (bnc#828235)
* Fix use of alloca in gaih_inet (bnc#828637)
* Initialize pointer guard also in static executables (CVE-2013-4788,
bnc#830268)
* Fix readdir_r with long file names (CVE-2013-4237, bnc#834594).
Security Issues:
* CVE-2012-4412
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4412>
* CVE-2013-0242
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0242>
* CVE-2013-1914
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1914>
* CVE-2013-4237
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4237>
* CVE-2013-4332
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4332>
* CVE-2013-4788
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4788>
- Record
SUSE-SU-2015:0551-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
glibcDebian:12 |
before 2.13-35 | 2.13-35 |
glibcDebian:13 |
before 2.13-35 | 2.13-35 |
glibcDebian:14 |
before 2.13-35 | 2.13-35 |
glibcRed Hat:enterprise_linux:6::client |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-commonRed Hat:enterprise_linux:6::client |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-debuginfoRed Hat:enterprise_linux:6::client |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-debuginfo-commonRed Hat:enterprise_linux:6::client |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-develRed Hat:enterprise_linux:6::client |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-headersRed Hat:enterprise_linux:6::client |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-utilsRed Hat:enterprise_linux:6::client |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
Show 30 moreShow less
| Package | Affected | Fixed |
|---|---|---|
nscdRed Hat:enterprise_linux:6::client |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-staticRed Hat:enterprise_linux:6::client |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibcRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-commonRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-debuginfo-commonRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-develRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-headersRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-utilsRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
nscdRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-staticRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibcRed Hat:enterprise_linux:6::server |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-commonRed Hat:enterprise_linux:6::server |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-debuginfoRed Hat:enterprise_linux:6::server |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-debuginfo-commonRed Hat:enterprise_linux:6::server |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-develRed Hat:enterprise_linux:6::server |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-headersRed Hat:enterprise_linux:6::server |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-utilsRed Hat:enterprise_linux:6::server |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
nscdRed Hat:enterprise_linux:6::server |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-staticRed Hat:enterprise_linux:6::server |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibcRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-commonRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-debuginfo-commonRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-develRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-headersRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-utilsRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
nscdRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
glibc-staticRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.80.el6_3.3 | 0:2.12-1.80.el6_3.3 |
rhev-hypervisor6Red Hat:enterprise_linux:6::hypervisor |
before 0:6.3-20120815.0.el6_3 | 0:6.3-20120815.0.el6_3 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
rhn.redhat.com/errata/RHSA-2012-1200.html
sourceware.org/bugzilla/show_bug.cgi?id=12445
bugzilla.redhat.com/show_bug.cgi?id=833703
security.gentoo.org/glsa/201503-04
rhn.redhat.com/errata/RHSA-2012-1098.html
ubuntu.com/usn/USN-1589-1
Show 92 moreShow less
openwall.com/lists/oss-security/2012/07/11/17
nvd.nist.gov/vuln/detail/CVE-2012-3404
github.com/advisories/GHSA-gm92-3frh-vrww
security-tracker.debian.org/tracker/CVE-2012-3404
access.redhat.com/errata/RHSA-2012:1098
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=826943
bugzilla.redhat.com/show_bug.cgi?id=833704
bugzilla.redhat.com/show_bug.cgi?id=837026
security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1098.json
access.redhat.com/security/cve/CVE-2012-3404
cve.org/CVERecord?id=CVE-2012-3404
access.redhat.com/security/cve/CVE-2012-3405
cve.org/CVERecord?id=CVE-2012-3405
nvd.nist.gov/vuln/detail/CVE-2012-3405
access.redhat.com/security/cve/CVE-2012-3406
cve.org/CVERecord?id=CVE-2012-3406
nvd.nist.gov/vuln/detail/CVE-2012-3406
access.redhat.com/errata/RHSA-2012:1200
access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Hypervisor_Deployment_Guide/chap-Deployment_Guide-Upgrading_Red_Hat_Enterprise_Virtualization_Hypervisors.html
access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Hypervisor_Deployment_Guide/chap-Deployment_Guide-Upgrading_Red_Hat_Enterprise_Virtualization_Hypervisors.html
bugzilla.redhat.com/show_bug.cgi?id=835169
security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1200.json
suse.com/support/update/announcement/2015/suse-su-20150551-1
bugzilla.suse.com/684534
bugzilla.suse.com/691365
bugzilla.suse.com/741345
bugzilla.suse.com/743689
bugzilla.suse.com/744996
bugzilla.suse.com/745658
bugzilla.suse.com/746824
bugzilla.suse.com/747768
bugzilla.suse.com/750741
bugzilla.suse.com/760795
bugzilla.suse.com/763512
bugzilla.suse.com/767266
bugzilla.suse.com/770891
bugzilla.suse.com/775690
bugzilla.suse.com/777233
bugzilla.suse.com/779320
bugzilla.suse.com/783060
bugzilla.suse.com/785041
bugzilla.suse.com/791928
bugzilla.suse.com/793146
bugzilla.suse.com/795129
bugzilla.suse.com/801246
bugzilla.suse.com/811979
bugzilla.suse.com/813121
bugzilla.suse.com/818628
bugzilla.suse.com/819347
bugzilla.suse.com/822210
bugzilla.suse.com/827811
bugzilla.suse.com/828235
bugzilla.suse.com/828637
bugzilla.suse.com/830268
bugzilla.suse.com/834594
bugzilla.suse.com/836746
bugzilla.suse.com/839870
bugzilla.suse.com/844309
bugzilla.suse.com/864081
bugzilla.suse.com/882600
bugzilla.suse.com/887022
bugzilla.suse.com/892073
bugzilla.suse.com/894553
bugzilla.suse.com/894556
bugzilla.suse.com/906371
bugzilla.suse.com/909053
bugzilla.suse.com/910599
bugzilla.suse.com/913646
bugzilla.suse.com/915526
bugzilla.suse.com/916222
bugzilla.suse.com/918233
suse.com/security/cve/CVE-2012-0864
suse.com/security/cve/CVE-2012-3404
suse.com/security/cve/CVE-2012-3405
suse.com/security/cve/CVE-2012-3406
suse.com/security/cve/CVE-2012-3480
suse.com/security/cve/CVE-2012-4412
suse.com/security/cve/CVE-2012-6656
suse.com/security/cve/CVE-2013-0242
suse.com/security/cve/CVE-2013-1914
suse.com/security/cve/CVE-2013-4237
suse.com/security/cve/CVE-2013-4332
suse.com/security/cve/CVE-2013-4357
suse.com/security/cve/CVE-2013-4788
suse.com/security/cve/CVE-2013-7423
suse.com/security/cve/CVE-2014-5119
suse.com/security/cve/CVE-2014-6040
suse.com/security/cve/CVE-2014-7817
suse.com/security/cve/CVE-2014-9402
suse.com/security/cve/CVE-2015-0235
suse.com/security/cve/CVE-2015-1472