CVE-2012-2673
Multiple integer overflows in the (1) GC_generic_malloc and (2) calloc functions in malloc.c, and...
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2012-2673- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-2673- Updated
- 2026-11-02
EUVDEUVD-2012-2655 No score
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.
- Record
EUVD-2012-2655- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-779g-vf77-jgjv No score
Multiple integer overflows in the (1) GC_generic_malloc and (2) calloc functions in malloc.c, and...
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.
- Record
GHSA-779g-vf77-jgjv- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-2673- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-2673 No score
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.
- Record
DEBIAN-CVE-2012-2673- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10302-1 No score
gc-devel-7.4.2-3.5 on GA media
These are all security issues fixed in the gc-devel-7.4.2-3.5 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10302-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libgcDebian:12 |
before 1:7.1-9 | 1:7.1-9 |
libgcDebian:13 |
before 1:7.1-9 | 1:7.1-9 |
libgcDebian:14 |
before 1:7.1-9 | 1:7.1-9 |
gcRed Hat:enterprise_linux:6::client |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gc-debuginfoRed Hat:enterprise_linux:6::client |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gc-develRed Hat:enterprise_linux:6::client |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gcRed Hat:enterprise_linux:6::computenode |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gc-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gc-develRed Hat:enterprise_linux:6::computenode |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gcRed Hat:enterprise_linux:6::server |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gc-debuginfoRed Hat:enterprise_linux:6::server |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gc-develRed Hat:enterprise_linux:6::server |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gcRed Hat:enterprise_linux:6::workstation |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gc-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gc-develRed Hat:enterprise_linux:6::workstation |
before 0:7.1-12.el6_4 | 0:7.1-12.el6_4 |
gcRed Hat:network_satellite:5.6::el5 |
before 0:7.1-12.2.el5sat | 0:7.1-12.2.el5sat |
gc-debuginfoRed Hat:network_satellite:5.6::el5 |
before 0:7.1-12.2.el5sat | 0:7.1-12.2.el5sat |
gcRed Hat:network_proxy:5.6::el5 |
before 0:7.1-12.2.el5sat | 0:7.1-12.2.el5sat |
gc-debuginfoRed Hat:network_proxy:5.6::el5 |
before 0:7.1-12.2.el5sat | 0:7.1-12.2.el5sat |
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-2673 is a medium vulnerability (CVSS 5.0) in Boehm-demers-weiser Garbage Collector, published July 25, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.77%, the 86th percentile. Fixed in libgc 1:7.1-9.
References
rhn.redhat.com/errata/RHSA-2013-1500.html
ubuntu.com/usn/USN-1546-1
github.com/ivmai/bdwgc/commit/e10c1eb9908c2774c16b3148b30d2f3823d66a9a
lists.fedoraproject.org/pipermail/package-announce/2012-June/082988.html
kqueue.org/blog/2012/03/05/memory-allocator-security-revisited
openwall.com/lists/oss-security/2012/06/05/1
Show 24 moreShow less
openwall.com/lists/oss-security/2012/06/07/13
mandriva.com/security/advisories?name=MDVSA-2012:158
rhn.redhat.com/errata/RHSA-2014-0150.html
github.com/ivmai/bdwgc/commit/83231d0ab5ed60015797c3d1ad9056295ac3b2bb
github.com/ivmai/bdwgc/blob/master/ChangeLog
lists.fedoraproject.org/pipermail/package-announce/2012-June/082926.html
github.com/ivmai/bdwgc/commit/be9df82919960214ee4b9d3313523bff44fd99e1
rhn.redhat.com/errata/RHSA-2014-0149.html
github.com/ivmai/bdwgc/commit/6a93f8e5bcad22137f41b6c60a1c7384baaec2b3
securityfocus.com/bid/54227
nvd.nist.gov/vuln/detail/CVE-2012-2673
github.com/advisories/GHSA-779g-vf77-jgjv
security-tracker.debian.org/tracker/CVE-2012-2673
access.redhat.com/errata/RHSA-2013:1500
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=828878
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1500.json
access.redhat.com/security/cve/CVE-2012-2673
cve.org/CVERecord?id=CVE-2012-2673
access.redhat.com/errata/RHSA-2014:0149
security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_0149.json
access.redhat.com/errata/RHSA-2014:0150
security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_0150.json
suse.com/security/cve/CVE-2012-2673