Skip to content
Fencer Intel
medium 5.0

CVE-2012-2673 json

Multiple integer overflows in the (1) GC_generic_malloc and (2) calloc functions in malloc.c, and the (3) GC_generic_malloc_ignore_off_page…

published 2012-07-25 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2655

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

Summary

Multiple integer overflows in the (1) GC_generic_malloc and (2) calloc functions in malloc.c, and the (3) GC_generic_malloc_ignore_off_page function in mallocx.c in Boehm-Demers-Weiser GC (libgc) before 7.2 make it easier for context-dependent attackers to perform memory-related attacks such as buffer overflows via a large size value, which causes less memory to be allocated than expected.

Patch / fix

  • libgc Debian 14, Debian 13, Debian 12 1:7.1-9

debian advisories DEBIAN-CVE-2012-2673

  • gc network satellite 5.6, network proxy 5.6 7.1-12.2.el5sat
  • gc RHEL 6 7.1-12.el6_4

red hat advisories RHSA-2014:0149RHSA-2014:0150RHSA-2013:1500

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-2673 updated cvss 5.1

gc: malloc() and calloc() overflows

  • Red Hat Enterprise Linux Desktop (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux Desktop Optional (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux HPC Node Optional (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux Server (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux Server Optional (v. 6) gc 7.1-12.el6_4 Red Hat Enterprise Linux Workstation (v. 6) gc 7.1-12.el6_4
    +1 more products
    Red Hat Enterprise Linux Workstation Optional (v. 6) gc 7.1-12.el6_4
    fixed: vendor fix RHSA-2013:1500
  • Red Hat Satellite 5.6 (RHEL v.5) gc 7.1-12.2.el5sat
    fixed: vendor fix RHSA-2014:0149
  • Red Hat Satellite Proxy 5.6 (RHEL v.5) gc 7.1-12.2.el5sat
    fixed: vendor fix RHSA-2014:0150

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.77% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/ivmai/bdwgc/commit/83231d0ab5ed60015797c3d1ad9056295ac3b2bb referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/ivmai/bdwgc/commit/6a93f8e5bcad22137f41b6c60a1c7384baaec2b3 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

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

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.