Skip to content
Fencer Intel
medium 6.8

CVE-2012-0864 json

Integer overflow in the vfprintf function in stdio-common/vfprintf.c in glibc 2.14 and other versions allows context-dependent attackers to…

published 2013-05-02 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0889

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.7%
EPSS 2.7% chance of exploitation in 30 days, percentile 86%
public exploits
0
none known

Summary

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.

Patch / fix

  • rhev-hypervisor6 RHEL 6 6.2-20120423.1.el6_2
  • rhev-hypervisor6-tools RHEL 6 6.2-20120423.1.el6_2
  • glibc RHEL 5 2.5-81.el5_8.1
  • nscd RHEL 5 2.5-81.el5_8.1
  • glibc-utils RHEL 5 2.5-81.el5_8.1
  • glibc-common RHEL 5 2.5-81.el5_8.1
  • glibc-debuginfo-common RHEL 5 2.5-81.el5_8.1
  • glibc RHEL 6 2.12-1.47.el6_2.9

red hat advisories RHSA-2012:0531RHSA-2012:0397RHSA-2012:0393

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-0864 updated cvss 6.8

glibc: FORTIFY_SOURCE format string protection bypass via "nargs" integer overflow

  • Red Hat Enterprise Linux 4 glibc
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux (v. 5 server) nscd 2.5-81.el5_8.1, glibc 2.5-81.el5_8.1, glibc-utils 2.5-81.el5_8.1, glibc-common 2.5-81.el5_8.1, glibc-debuginfo-common 2.5-81.el5_8.1 Red Hat Enterprise Linux Desktop (v. 5 client) nscd 2.5-81.el5_8.1, glibc 2.5-81.el5_8.1, glibc-utils 2.5-81.el5_8.1, glibc-common 2.5-81.el5_8.1, glibc-debuginfo-common 2.5-81.el5_8.1
    fixed: vendor fix RHSA-2012:0397
  • Red Hat Enterprise Linux Desktop (v. 6) nscd 2.12-1.47.el6_2.9, glibc 2.12-1.47.el6_2.9, glibc-utils 2.12-1.47.el6_2.9, glibc-common 2.12-1.47.el6_2.9, glibc-debuginfo-common 2.12-1.47.el6_2.9 Red Hat Enterprise Linux Desktop Optional (v. 6) glibc 2.12-1.47.el6_2.9, glibc-debuginfo-common 2.12-1.47.el6_2.9 Red Hat Enterprise Linux HPC Node (v. 6) nscd 2.12-1.47.el6_2.9, glibc 2.12-1.47.el6_2.9, glibc-utils 2.12-1.47.el6_2.9, glibc-common 2.12-1.47.el6_2.9, glibc-debuginfo-common 2.12-1.47.el6_2.9 Red Hat Enterprise Linux HPC Node Optional (v. 6) glibc 2.12-1.47.el6_2.9, glibc-debuginfo-common 2.12-1.47.el6_2.9 Red Hat Enterprise Linux Server (v. 6) nscd 2.12-1.47.el6_2.9, glibc 2.12-1.47.el6_2.9, glibc-utils 2.12-1.47.el6_2.9, glibc-common 2.12-1.47.el6_2.9, glibc-debuginfo-common 2.12-1.47.el6_2.9 Red Hat Enterprise Linux Server Optional (v. 6) glibc 2.12-1.47.el6_2.9, glibc-debuginfo-common 2.12-1.47.el6_2.9
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 6) nscd 2.12-1.47.el6_2.9, glibc 2.12-1.47.el6_2.9, glibc-utils 2.12-1.47.el6_2.9, glibc-common 2.12-1.47.el6_2.9, glibc-debuginfo-common 2.12-1.47.el6_2.9 Red Hat Enterprise Linux Workstation Optional (v. 6) glibc 2.12-1.47.el6_2.9, glibc-debuginfo-common 2.12-1.47.el6_2.9
    fixed: vendor fix RHSA-2012:0393
  • Red Hat RHEV Hypervisor for RHEL-6 rhev-hypervisor6 6.2-20120423.1.el6_2, rhev-hypervisor6-tools 6.2-20120423.1.el6_2
    fixed: vendor fix RHSA-2012:0531

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.72% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • securityfocus.com http://www.securityfocus.com/bid/52201 referenced PoC, tagged "exploit" by a source, unverified
  • sourceware.org http://sourceware.org/ml/libc-alpha/2012-02/msg00023.html referenced PoC, tagged "exploit" by a source, unverified
  • phrack.org http://www.phrack.org/issues.html?issue=67&id=9#article referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.