CVE-2012-0864
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other...
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the FORTIFY_SOURCE protection mechanism, conduct format string attacks, and write to arbitrary memory via a large number of arguments.
Exploit likelihood
What each source reports
NVD Score used
6.8
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the FORTIFY_SOURCE protection mechanism, conduct format string attacks, and write to arbitrary memory via a large number of arguments.
- Record
CVE-2012-0864- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the FORTIFY_SOURCE protection mechanism, conduct format string attacks, and write to arbitrary memory via a large number of arguments.
- Record
CVE-2012-0864- Updated
- 2026-11-02
EUVDEUVD-2012-0889 No score
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the FORTIFY_SOURCE protection mechanism, conduct format string attacks, and write to arbitrary memory via a large number of arguments.
- Record
EUVD-2012-0889- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x2p4-f3vf-gwp3 No score
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other...
Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to bypass the FORTIFY_SOURCE protection mechanism, conduct format string attacks, and write to arbitrary memory via a large number of arguments.
- Record
GHSA-x2p4-f3vf-gwp3- 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 |
|---|---|---|
glibcRed Hat:enterprise_linux:6::client |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-commonRed Hat:enterprise_linux:6::client |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-debuginfoRed Hat:enterprise_linux:6::client |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-debuginfo-commonRed Hat:enterprise_linux:6::client |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-develRed Hat:enterprise_linux:6::client |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-headersRed Hat:enterprise_linux:6::client |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-utilsRed Hat:enterprise_linux:6::client |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
nscdRed Hat:enterprise_linux:6::client |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-staticRed Hat:enterprise_linux:6::client |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibcRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
Show 44 moreShow less
| Package | Affected | Fixed |
|---|---|---|
glibc-commonRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-debuginfo-commonRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-develRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-headersRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-utilsRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
nscdRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-staticRed Hat:enterprise_linux:6::computenode |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibcRed Hat:enterprise_linux:6::server |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-commonRed Hat:enterprise_linux:6::server |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-debuginfoRed Hat:enterprise_linux:6::server |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-debuginfo-commonRed Hat:enterprise_linux:6::server |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-develRed Hat:enterprise_linux:6::server |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-headersRed Hat:enterprise_linux:6::server |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-utilsRed Hat:enterprise_linux:6::server |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
nscdRed Hat:enterprise_linux:6::server |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-staticRed Hat:enterprise_linux:6::server |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibcRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-commonRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-debuginfo-commonRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-develRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-headersRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-utilsRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
nscdRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibc-staticRed Hat:enterprise_linux:6::workstation |
before 0:2.12-1.47.el6_2.9 | 0:2.12-1.47.el6_2.9 |
glibcRed Hat:enterprise_linux:5::client |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-commonRed Hat:enterprise_linux:5::client |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-debuginfoRed Hat:enterprise_linux:5::client |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-debuginfo-commonRed Hat:enterprise_linux:5::client |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-develRed Hat:enterprise_linux:5::client |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-headersRed Hat:enterprise_linux:5::client |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-utilsRed Hat:enterprise_linux:5::client |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
nscdRed Hat:enterprise_linux:5::client |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibcRed Hat:enterprise_linux:5::server |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-commonRed Hat:enterprise_linux:5::server |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-debuginfoRed Hat:enterprise_linux:5::server |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-debuginfo-commonRed Hat:enterprise_linux:5::server |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-develRed Hat:enterprise_linux:5::server |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-headersRed Hat:enterprise_linux:5::server |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
glibc-utilsRed Hat:enterprise_linux:5::server |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
nscdRed Hat:enterprise_linux:5::server |
before 0:2.5-81.el5_8.1 | 0:2.5-81.el5_8.1 |
rhev-hypervisor6Red Hat:enterprise_linux:6::hypervisor |
before 0:6.2-20120423.1.el6_2 | 0:6.2-20120423.1.el6_2 |
rhev-hypervisor6-toolsRed Hat:enterprise_linux:6::hypervisor |
before 0:6.2-20120423.1.el6_2 | 0:6.2-20120423.1.el6_2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-0864 is a medium vulnerability (CVSS 6.8) in Gnu Glibc, published May 2, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.72%, the 86th percentile. Fixed in glibc 0:2.12-1.47.el6_2.9.
References
rhn.redhat.com/errata/RHSA-2012-0531.html
securityfocus.com/bid/52201
rhn.redhat.com/errata/RHSA-2012-0393.html
rhn.redhat.com/errata/RHSA-2012-0397.html
sourceware.org/git?p=glibc.git%3Ba=commitdiff%3Bh=7c1f4834d398163d1ac8101e35e9c36fc3176e6e
rhn.redhat.com/errata/RHSA-2012-0488.html
Show 95 moreShow less
sourceware.org/ml/libc-alpha/2012-02/msg00023.html
bugzilla.redhat.com/show_bug.cgi?id=794766
phrack.org/issues.html?issue=67&id=9
nvd.nist.gov/vuln/detail/CVE-2012-0864
sourceware.org/git?p=glibc.git;a=commitdiff;h=7c1f4834d398163d1ac8101e35e9c36fc3176e6e
access.redhat.com/errata/RHSA-2012:0393
access.redhat.com/errata/RHSA-2012:0397
access.redhat.com/errata/RHSA-2012:0488
access.redhat.com/errata/RHSA-2012:0531
access.redhat.com/security/cve/CVE-2012-0864
github.com/advisories/GHSA-x2p4-f3vf-gwp3
access.redhat.com/security/updates/classification
rhn.redhat.com/errata/RHSA-2012-0058.html
bugzilla.redhat.com/show_bug.cgi?id=799259
security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_0393.json
cve.org/CVERecord?id=CVE-2012-0864
security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_0397.json
bugzilla.redhat.com/show_bug.cgi?id=804920
bugzilla.redhat.com/show_bug.cgi?id=805432
security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_0531.json
access.redhat.com/security/cve/CVE-2012-1569
cve.org/CVERecord?id=CVE-2012-1569
nvd.nist.gov/vuln/detail/CVE-2012-1569
access.redhat.com/security/cve/CVE-2012-1573
cve.org/CVERecord?id=CVE-2012-1573
nvd.nist.gov/vuln/detail/CVE-2012-1573
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